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
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetSelector.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetSelector.cpp
b/src/ModuleBase/ModuleBase_WidgetSelector.cpp
index 53a7b5da8a35a154a8342778bbe64956c2305cf1..e8c6093438fc650319046cad21c6f5ddeeb31844 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_WidgetSelector.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetSelector.cpp
@@
-115,7
+115,7
@@
bool ModuleBase_WidgetSelector::acceptSubShape(const GeomShapePtr& theShape,
}
//********************************************************************
}
//********************************************************************
-
void
ModuleBase_WidgetSelector::activateSelectionAndFilters(bool toActivate)
+
bool
ModuleBase_WidgetSelector::activateSelectionAndFilters(bool toActivate)
{
updateSelectionName();
{
updateSelectionName();
@@
-124,7
+124,7
@@
void ModuleBase_WidgetSelector::activateSelectionAndFilters(bool toActivate)
} else {
myWorkshop->deactivateSubShapesSelection();
}
} else {
myWorkshop->deactivateSubShapesSelection();
}
- activateFilters(toActivate);
+
return
activateFilters(toActivate);
}
//********************************************************************
}
//********************************************************************