From 014944b4c065fe19d4e7445026805d288d7d6d82 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 26 Apr 2018 19:57:51 +0200 Subject: [PATCH] #2798 Dock Widgets : Raise widget to make it top most widget if tabbed --- ApplicationCode/UserInterface/RiuMainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ApplicationCode/UserInterface/RiuMainWindow.cpp b/ApplicationCode/UserInterface/RiuMainWindow.cpp index 74e78ed30c..e5a2152cc3 100644 --- a/ApplicationCode/UserInterface/RiuMainWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindow.cpp @@ -1589,6 +1589,8 @@ void RiuMainWindow::showDockPanel(const QString &dockPanelName) if (dock && dock->objectName() == dockPanelName) { dock->show(); + dock->raise(); + return; } }