Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
83b0c98
)
53539: 0D Element - selection with [Shift] impossible
author
eap
<eap@opencascade.com>
Thu, 25 Aug 2016 13:28:29 +0000
(16:28 +0300)
committer
eap
<eap@opencascade.com>
Thu, 25 Aug 2016 13:28:29 +0000
(16:28 +0300)
src/SMESHGUI/SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
b/src/SMESHGUI/SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
index 105568581d0c75947aa30406e96d3125e0bdb85d..30a8fc92d6f29faa74f8de50050ceb17dc7454d5 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Add0DElemsOnAllNodesDlg.cxx
@@
-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: