From 8ff8264d1160ed474cdb7958473f8dc304b507e0 Mon Sep 17 00:00:00 2001 From: Jon Jenssen Date: Tue, 5 Nov 2024 14:04:02 +0100 Subject: [PATCH] Use window icons to show toggle state in windows menu --- ApplicationLibCode/UserInterface/RiuDockWidgetTools.cpp | 2 +- ThirdParty/qtadvanceddocking | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ApplicationLibCode/UserInterface/RiuDockWidgetTools.cpp b/ApplicationLibCode/UserInterface/RiuDockWidgetTools.cpp index ae9adcaeb9..1d06c704cb 100644 --- a/ApplicationLibCode/UserInterface/RiuDockWidgetTools.cpp +++ b/ApplicationLibCode/UserInterface/RiuDockWidgetTools.cpp @@ -37,7 +37,7 @@ ads::CDockWidget* RiuDockWidgetTools::createDockWidget( QString title, QString d { ads::CDockWidget* dockWidget = new ads::CDockWidget( title, parent ); dockWidget->setObjectName( dockName ); - dockWidget->setToggleViewActionMode( ads::CDockWidget::ActionModeShow ); + dockWidget->setToggleViewActionMode( ads::CDockWidget::ActionModeToggle ); dockWidget->setIcon( RiuDockWidgetTools::dockIcon( dockName ) ); return dockWidget; diff --git a/ThirdParty/qtadvanceddocking b/ThirdParty/qtadvanceddocking index b2156037a8..234c591980 160000 --- a/ThirdParty/qtadvanceddocking +++ b/ThirdParty/qtadvanceddocking @@ -1 +1 @@ -Subproject commit b2156037a83a99c208b07bb65893630079fd1365 +Subproject commit 234c591980a1ec6fadce8a9ffc43d24370055c4b