From 13c2f8cf7ae73ffca8385e94526825aea23c8bd6 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 7 Jun 2019 12:02:32 +0300 Subject: [PATCH] Fix bug with losing of focus of selector --- src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp b/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp index 7eec4bec5..24e2783cd 100644 --- a/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp @@ -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(); -- 2.39.2