]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix bug with losing of focus of selector
authorvsv <vsv@opencascade.com>
Fri, 7 Jun 2019 09:02:32 +0000 (12:02 +0300)
committervsv <vsv@opencascade.com>
Fri, 7 Jun 2019 09:02:32 +0000 (12:02 +0300)
src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp

index 7eec4bec5bd699c42d788f8d7e48258c94786dc2..24e2783cd454a67ad7d3c434fcebab33c0a6fbce 100644 (file)
@@ -365,8 +365,6 @@ void ModuleBase_WidgetSelectionFilter::onAddFilter(int theIndex)
   updateNumberSelected();
   myFiltersCombo->setCurrentIndex(0);
   myFiltersCombo->removeItem(theIndex);
-
-  enableFocusProcessing();
 }
 
 void ModuleBase_WidgetSelectionFilter::onDeleteItem(ModuleBase_FilterItem* theItem)
@@ -391,7 +389,6 @@ void ModuleBase_WidgetSelectionFilter::onDeleteItem(ModuleBase_FilterItem* theIt
   clearCurrentSelection(true);
   updateNumberSelected();
 
-  enableFocusProcessing();
   myWorkshop->deactivateCurrentSelector();
   myWorkshop->selectionActivate()->updateSelectionModes();
   myWorkshop->selectionActivate()->updateSelectionFilters();