]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3100: Synchronize state of "Show only" button and visibility of objects.
authorvsv <vsv@opencascade.com>
Thu, 19 Dec 2019 09:10:02 +0000 (12:10 +0300)
committervsv <vsv@opencascade.com>
Thu, 19 Dec 2019 09:10:02 +0000 (12:10 +0300)
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();