Use window icons to show toggle state in windows menu

This commit is contained in:
Jon Jenssen 2024-11-05 14:04:02 +01:00 committed by jonjenssen
parent 1a3cb1f241
commit 8ff8264d11
2 changed files with 2 additions and 2 deletions

View File

@ -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;

@ -1 +1 @@
Subproject commit b2156037a83a99c208b07bb65893630079fd1365
Subproject commit 234c591980a1ec6fadce8a9ffc43d24370055c4b