From ffe12dbfbed6608d9552414fa7e07db2ff133aff Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 31 Aug 2015 15:02:32 +0300 Subject: [PATCH] Issue #850: focus to property panel --- src/XGUI/XGUI_PropertyPanel.cpp | 1 + 1 file changed, 1 insertion(+) 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()) { -- 2.39.2