0020082: EDF 869 GEOM : Edges Orientation indicator/reverse

This commit is contained in:
dmv 2010-09-09 09:08:23 +00:00
parent a21764f491
commit 7a8dbd1c30

View File

@ -258,7 +258,7 @@ void StdMeshersGUI_SubShapeSelectorWdg::SelectionIntoArgument()
}
}
// update add button
myAddButton->setEnabled( myListWidget->count() < myMaxSize && 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
myListWidget->clearSelection();