mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
53539: 0D Element - selection with [Shift] impossible
This commit is contained in:
parent
83b0c984cc
commit
1a15d67577
@ -273,16 +273,17 @@ void SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone()
|
||||
if (!myDlg->myGroupBox->isEnabled()) return; // inactive
|
||||
|
||||
myIO.Nullify();
|
||||
myDlg->setObjectText( 0, "");
|
||||
updateButtons();
|
||||
|
||||
SALOME_ListIO aList;
|
||||
selectionMgr()->selectedObjects( aList );
|
||||
if ( aList.Extent() == 1 )
|
||||
if ( aList.Extent() == 1 ) {
|
||||
myIO = aList.First();
|
||||
else
|
||||
}
|
||||
else {
|
||||
myDlg->setObjectText( 0, ""); // it clears the selection
|
||||
return;
|
||||
|
||||
}
|
||||
QString ids;
|
||||
switch ( myDlg->getSelectionType() ) {
|
||||
case SEL_OBJECT:
|
||||
|
Loading…
Reference in New Issue
Block a user