Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1351: partition is not done
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetEditor.cpp
diff --git
a/src/PartSet/PartSet_WidgetEditor.cpp
b/src/PartSet/PartSet_WidgetEditor.cpp
index 4857863b5ea31d1f905187ffcb0a67fad13d6ac7..d0a129aba01b49031ea569c398776a79f3683fb8 100644
(file)
--- a/
src/PartSet/PartSet_WidgetEditor.cpp
+++ b/
src/PartSet/PartSet_WidgetEditor.cpp
@@
-23,7
+23,7
@@
PartSet_WidgetEditor::PartSet_WidgetEditor(QWidget* theParent, ModuleBase_IWorks
bool PartSet_WidgetEditor::focusTo()
{
PartSet_Module* aModule = dynamic_cast<PartSet_Module*>(myWorkshop->module());
bool PartSet_WidgetEditor::focusTo()
{
PartSet_Module* aModule = dynamic_cast<PartSet_Module*>(myWorkshop->module());
- if (aModule->isMouseOverWindow())
+ if (aModule->isMouseOverWindow()
&& !isEditingMode()
)
return ModuleBase_WidgetEditor::focusTo();
else {
return ModuleBase_WidgetDoubleValue::focusTo();
return ModuleBase_WidgetEditor::focusTo();
else {
return ModuleBase_WidgetDoubleValue::focusTo();