mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
You break it, you pay for it. Fix submenus again. Lars please check menus still work for you.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5295 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
01439bfc60
commit
b77165653d
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-13 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* Menubar_pimpl.C:
|
||||||
|
* QLPopupMenu.C: fix submenus again
|
||||||
|
|
||||||
2002-09-12 John Levon <levon@movementarian.org>
|
2002-09-12 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* qscreen.h:
|
* qscreen.h:
|
||||||
|
@ -48,8 +48,6 @@ Menubar::Pimpl::Pimpl(LyXView * view, MenuBackend const & mbe)
|
|||||||
pair<int, QLPopupMenu *> menu =
|
pair<int, QLPopupMenu *> menu =
|
||||||
createMenu(owner_->menuBar(), &(*m), this, true);
|
createMenu(owner_->menuBar(), &(*m), this, true);
|
||||||
name_map_[m->submenuname()] = menu.second;
|
name_map_[m->submenuname()] = menu.second;
|
||||||
QObject::connect(menu.second, SIGNAL(activated(int)),
|
|
||||||
owner_, SLOT(activated(int)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,6 +56,8 @@ QLPopupMenu::QLPopupMenu(Menubar::Pimpl * owner, string const & name, bool tople
|
|||||||
{
|
{
|
||||||
if (toplevel)
|
if (toplevel)
|
||||||
connect(this, SIGNAL(aboutToShow()), this, SLOT(showing()));
|
connect(this, SIGNAL(aboutToShow()), this, SLOT(showing()));
|
||||||
|
connect(this, SIGNAL(activated(int)),
|
||||||
|
owner_->view(), SLOT(activated(int)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user