mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 00:42:12 -05:00
MenuBuilder. Fix: Menu separator always added to top level menu
This commit is contained in:
1 parent
8dc47a84a2
commit
506c454059
1 file changed
+1
-1
@@ -153,7 +153,7 @@ void CmdFeatureMenuBuilder::appendToMenu(QMenu* menu)
|
||||
{
|
||||
if (m_items[i].itemType == MenuItem::SEPARATOR)
|
||||
{
|
||||
menu->addSeparator();
|
||||
menus.back()->addSeparator();
|
||||
}
|
||||
else if (m_items[i].itemType == MenuItem::SUBMENU_START)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user