From: nds Date: Mon, 10 Jul 2017 12:15:27 +0000 (+0300) Subject: Issue #1750 Remove sub-shapes edition: can't select sub-shapes in the 3D view X-Git-Tag: V_2.7.2RC~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7b1b5866d608519cac3e6ed83bc0d14ad884e9c9;p=modules%2Fshaper.git Issue #1750 Remove sub-shapes edition: can't select sub-shapes in the 3D view If the row is performed as selected, it becomes visualized in the viewer that is not what expected using deselection element with SHIFT. These modification was done for better processing focus, but now it is not necessary anymore. --- diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 80fb5cd9a..2d0a1225c 100755 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -469,7 +469,6 @@ void ModuleBase_WidgetMultiSelector::updateFocus() { // Set focus to List control in order to make possible // to use Tab key for transfer the focus to next widgets - myListControl->setCurrentRow(myListControl->model()->rowCount() - 1); ModuleBase_Tools::setFocus(myListControl, "ModuleBase_WidgetMultiSelector::onSelectionTypeChanged()"); }