]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issues #2173, #2169: Activate PropertyPanel window to accept focus always in double...
authornds <nds@opencascade.com>
Mon, 29 May 2017 12:48:01 +0000 (15:48 +0300)
committernds <nds@opencascade.com>
Mon, 29 May 2017 12:48:01 +0000 (15:48 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index 6128bf7a6b8c7a4c85134660c397c8da53122590..0659160408f8d1a8e0b38d50319305fdca61b363 100755 (executable)
@@ -410,8 +410,9 @@ bool XGUI_PropertyPanel::focusNextPrevChild_(bool theIsNext)
       }
     }
 
+    // we want to have property panel as an active window to enter values in double control
+    ModuleBase_Tools::activateWindow(this, "XGUI_PropertyPanel::activateNextWidget()");
     ModuleBase_Tools::setFocus(aNewFocusWidget, "XGUI_PropertyPanel::focusNextPrevChild()");
-    //aNewFocusWidget->setFocus(theIsNext ? Qt::TabFocusReason : Qt::BacktabFocusReason);
 
     ModuleBase_ModelWidget* aNewFocusMWidget = ModuleBase_ModelWidget::findModelWidget(this,
                                                                               aNewFocusWidget);