Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IPAL9153, IPAL9148, IPAL9150
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_GroupDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx
b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx
index 5ec1935cdeebf2f032b04c0842aa089ae04b2db1..2a86d827468eab72b721d81310a63304e02a56c5 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_GroupDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_GroupDlg.cxx
@@
-149,7
+149,7
@@
void SMESHGUI_GroupDlg::initDialog(bool create)
myCreate = create;
myCurrentLineEdit = 0;
myCreate = create;
myCurrentLineEdit = 0;
- QPixmap image0 (SMESH
GUI::resourceMgr(
)->loadPixmap("SMESH", tr("ICON_SELECT")));
+ QPixmap image0 (SMESH
::GetResourceMgr( mySMESHGUI
)->loadPixmap("SMESH", tr("ICON_SELECT")));
if (create)
setCaption(tr("SMESH_CREATE_GROUP_TITLE"));
if (create)
setCaption(tr("SMESH_CREATE_GROUP_TITLE"));
@@
-744,7
+744,7
@@
void SMESHGUI_GroupDlg::onObjectSelectionChanged()
myElements->clear();
myElements->clear();
- if (aNbSel
== 0
) {
+ if (aNbSel
!= 1
) {
myGroup = SMESH::SMESH_Group::_nil();
myMesh = SMESH::SMESH_Mesh::_nil();
myIsBusy = false;
myGroup = SMESH::SMESH_Group::_nil();
myMesh = SMESH::SMESH_Mesh::_nil();
myIsBusy = false;
@@
-805,7
+805,7
@@
void SMESHGUI_GroupDlg::onObjectSelectionChanged()
return;
} else if (myCurrentLineEdit == myGeomGroupLine) {
return;
} else if (myCurrentLineEdit == myGeomGroupLine) {
- if (aNbSel
== 0
) {
+ if (aNbSel
!= 1
) {
myGeomGroup = GEOM::GEOM_Object::_nil();
myIsBusy = false;
return;
myGeomGroup = GEOM::GEOM_Object::_nil();
myIsBusy = false;
return;