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:
b1f58b7
)
0022571: [CEA 1152] if selection disabled, impossible to select a mesh in "Merge...
author
mpa
<mpa@opencascade.com>
Fri, 25 Apr 2014 06:52:26 +0000
(10:52 +0400)
committer
mpa
<mpa@opencascade.com>
Fri, 25 Apr 2014 06:52:26 +0000
(10:52 +0400)
src/SMESHGUI/SMESHGUI_MergeDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MergeDlg.cxx
b/src/SMESHGUI/SMESHGUI_MergeDlg.cxx
index f5b7754c2cd8eea6646319e83c28e600709e102b..99c7d49edff9b72dc7bf7164a7d63018f1812b3e 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MergeDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MergeDlg.cxx
@@
-682,6
+682,8
@@
bool SMESHGUI_MergeDlg::ClickOnApply()
ListCoincident->clear();
+ myEditCurrentArgument = (QWidget*)LineEditMesh;
+
SMESH::UpdateView();
SMESHGUI::Modified();
@@
-1139,7
+1141,7
@@
void SMESHGUI_MergeDlg::SelectionIntoArgument()
if (!myActor)
myActor = SMESH::FindActorByObject(myMesh);
- if ( myActor && myTypeId ==
1
) {
+ if ( myActor && myTypeId ==
1 && mySelector->IsSelectionEnabled()
) {
mySubMeshOrGroup = SMESH::SMESH_IDSource::_nil();
mySelectionMgr->installFilter(myMeshOrSubMeshOrGroupFilter);