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
Fix for the problem: click "Apply" button unselects mesh.
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_TranslationDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
index 6ea4bbf29ab2ab2730ae5ac089f59966caed990c..1df8f02eba9b88eabb6d127dd1b4b5215b99ac63 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_TranslationDlg.cxx
@@
-447,10
+447,10
@@
void SMESHGUI_TranslationDlg::ClickOnApply()
} catch (...) {
}
} catch (...) {
}
- mySelectionMgr->clearSelected();
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
SMESH::UpdateView();
Init(false);
ConstructorsClicked(GetConstructorId());
+ SelectionIntoArgument();
}
}
}
}
@@
-624,7
+624,7
@@
void SMESHGUI_TranslationDlg::SelectionIntoArgument()
aNbUnits = anElementsIds->length();
}
} else {
aNbUnits = anElementsIds->length();
}
} else {
- aNbUnits = SMESH::GetNameOfSelectedElements(mySelector,
myActor->getIO()
, aString);
+ aNbUnits = SMESH::GetNameOfSelectedElements(mySelector,
IO
, aString);
myElementsId = aString;
}
myElementsId = aString;
}