]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1750 Remove sub-shapes edition: can't select sub-shapes in the 3D view
authornds <nds@opencascade.com>
Mon, 10 Jul 2017 12:15:27 +0000 (15:15 +0300)
committernds <nds@opencascade.com>
Mon, 10 Jul 2017 12:15:49 +0000 (15:15 +0300)
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.

src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp

index 80fb5cd9a6a7b4be46ad649e2dc0444bd6b8cdf2..2d0a1225c56446e1b6db14210006f0b68e494824 100755 (executable)
@@ -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()");
 }