]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #850: focus to property panel
authorasl <asl@opencascade.com>
Mon, 31 Aug 2015 12:02:32 +0000 (15:02 +0300)
committerasl <asl@opencascade.com>
Mon, 31 Aug 2015 12:03:06 +0000 (15:03 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index 4760cffb5a5fe2c8b32bd739a84306e51d5d2dbd..888d96c3e4a28b94ce7def47fad9efaec95da831 100644 (file)
@@ -153,6 +153,7 @@ void XGUI_PropertyPanel::activateNextWidget(ModuleBase_ModelWidget* theWidget)
   ModuleBase_ModelWidget* aNextWidget = 0;
   QList<ModuleBase_ModelWidget*>::const_iterator anIt = myWidgets.begin(), aLast = myWidgets.end();
   bool isFoundWidget = false;
+  activateWindow();
   for (; anIt != aLast && !aNextWidget; anIt++) {
     if (isFoundWidget || !theWidget) {
       if ((*anIt)->focusTo()) {