mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +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
|
if (!myDlg->myGroupBox->isEnabled()) return; // inactive
|
||||||
|
|
||||||
myIO.Nullify();
|
myIO.Nullify();
|
||||||
myDlg->setObjectText( 0, "");
|
|
||||||
updateButtons();
|
updateButtons();
|
||||||
|
|
||||||
SALOME_ListIO aList;
|
SALOME_ListIO aList;
|
||||||
selectionMgr()->selectedObjects( aList );
|
selectionMgr()->selectedObjects( aList );
|
||||||
if ( aList.Extent() == 1 )
|
if ( aList.Extent() == 1 ) {
|
||||||
myIO = aList.First();
|
myIO = aList.First();
|
||||||
else
|
}
|
||||||
|
else {
|
||||||
|
myDlg->setObjectText( 0, ""); // it clears the selection
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
QString ids;
|
QString ids;
|
||||||
switch ( myDlg->getSelectionType() ) {
|
switch ( myDlg->getSelectionType() ) {
|
||||||
case SEL_OBJECT:
|
case SEL_OBJECT:
|
||||||
|
Loading…
Reference in New Issue
Block a user