]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
Salome HOME
Issue #3100: Synchronize state of "Show only" button and visibility of objects.
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetMultiSelector.cpp
index 33f14a17ec64014ab79ecf2543b408320d7690da..fae06823576e8d7bac17d965705f6761dfea4a49 100644 (file)
@@ -250,7 +250,7 @@ void ModuleBase_WidgetMultiSelector::deactivate()
 
   ModuleBase_WidgetSelector::deactivate();
   if (myVisibleObjects.size())
-    onShowOnly(false);
+    myShowOnlyBtn->setChecked(false);
 
   myWorkshop->module()->deactivateCustomPrs(ModuleBase_IModule::CustomizeHighlightedObjects, true);
   clearSelectedHistory();