mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-22 03:35:37 +05:00
improve readability a bit
This commit is contained in:
parent
eb0c3c26e7
commit
3f3fd308b1
@ -303,7 +303,9 @@ void StdMeshersGUI_SubShapeSelectorWdg::SelectionIntoArgument()
|
||||
}
|
||||
}
|
||||
// update add button
|
||||
myAddButton->setEnabled( ( myListWidget->count() < myMaxSize || myMaxSize == -1 ) && mySelectedIDs.size() > 0 && ( mySelectedIDs.size() <= myMaxSize || myMaxSize == -1 ) );
|
||||
myAddButton->setEnabled( ( myListWidget->count() < myMaxSize || myMaxSize == -1 ) &&
|
||||
mySelectedIDs.size() > 0 &&
|
||||
( mySelectedIDs.size() <= myMaxSize || myMaxSize == -1 ) );
|
||||
|
||||
//Connect Selected Ids in viewer and dialog's Ids list
|
||||
bool signalsBlocked = myListWidget->blockSignals( true );
|
||||
|
Loading…
Reference in New Issue
Block a user