Commit 394a7aee authored by SZPYRKA Jean-Luc's avatar SZPYRKA Jean-Luc

fixed a bug in insertMenu()

parent cf80db1d
......@@ -84,6 +84,7 @@ dtkWidgetsMenu *dtkWidgetsMenu::insertMenu(int pos, dtkWidgetsMenu *menu)
menu->setParent(this);
d->object_hash.insert(menu->title(), menu);
d->menu_list.insert(pos, menu);
d->object_list.insert(pos, menu);
return menu;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment