diff --git a/src/DockManager.cpp b/src/DockManager.cpp index bb72777..1618cd9 100644 --- a/src/DockManager.cpp +++ b/src/DockManager.cpp @@ -778,6 +778,10 @@ QAction* CDockManager::addToggleViewActionToMenu(QAction* ToggleViewAction, d->addActionToMenu(GroupMenu->menuAction(), d->ViewMenu, AlphabeticallySorted); d->ViewMenuGroups.insert(Group, GroupMenu); } + else if (GroupMenu->icon().isNull() && !GroupIcon.isNull()) + { + GroupMenu->setIcon(GroupIcon); + } d->addActionToMenu(ToggleViewAction, GroupMenu, AlphabeticallySorted); return GroupMenu->menuAction();