From: asl Date: Mon, 31 Aug 2015 12:02:32 +0000 (+0300) Subject: Issue #850: focus to property panel X-Git-Tag: V_1.4.0_beta4~184 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ffe12dbfbed6608d9552414fa7e07db2ff133aff;p=modules%2Fshaper.git Issue #850: focus to property panel --- diff --git a/src/XGUI/XGUI_PropertyPanel.cpp b/src/XGUI/XGUI_PropertyPanel.cpp index 4760cffb5..888d96c3e 100644 --- a/src/XGUI/XGUI_PropertyPanel.cpp +++ b/src/XGUI/XGUI_PropertyPanel.cpp @@ -153,6 +153,7 @@ void XGUI_PropertyPanel::activateNextWidget(ModuleBase_ModelWidget* theWidget) ModuleBase_ModelWidget* aNextWidget = 0; QList::const_iterator anIt = myWidgets.begin(), aLast = myWidgets.end(); bool isFoundWidget = false; + activateWindow(); for (; anIt != aLast && !aNextWidget; anIt++) { if (isFoundWidget || !theWidget) { if ((*anIt)->focusTo()) {