From c8f9fac05f59467341c4ad2ed1f13567b466dcf9 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 6 Dec 2019 15:35:17 +0300 Subject: [PATCH] Do not lose a focus from an active widget. --- src/XGUI/XGUI_Workshop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 814cf4b15..5ed8b4527 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1582,7 +1582,7 @@ void XGUI_Workshop::showPanel(QDockWidget* theDockWidget) // in order to operation manager could process key events of the panel. // otherwise they are ignored. It happens only if the same(activateWindow) is // not happened by property panel activation(e.g. resume operation of Sketch) - ModuleBase_Tools::setFocus(theDockWidget, "XGUI_Workshop::showPanel()"); + //ModuleBase_Tools::setFocus(theDockWidget, "XGUI_Workshop::showPanel()"); } //****************************************************** -- 2.39.2