mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ed75b390a8
commit
ee33e44528
@ -89,7 +89,7 @@ void QLPopupMenu::populate(Menu * menu)
|
||||
if (m->kind() == MenuItem::Separator) {
|
||||
insertSeparator();
|
||||
} else if (m->kind() == MenuItem::Submenu) {
|
||||
pair<int, QLPopupMenu *> res = createMenu(this, m, owner_);
|
||||
pair<int, QLPopupMenu *> res = createMenu(this, &(*m), owner_);
|
||||
setItemEnabled(res.first, !disabled(m->submenu()));
|
||||
res.second->populate(m->submenu());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user