From 7f02beb99015c8a77ea2d98551205d43f0d1ea20 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 21 Mar 2008 18:18:46 +0000 Subject: [PATCH] temporary fix for http://bugzilla.lyx.org/show_bug.cgi?id=4613 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23882 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Menus.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index bbb03d8350..4496ff744c 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -922,8 +922,13 @@ void MenuDefinition::expandToc(Buffer const * buf) label = qt_("List of Equations"); else if (cit->first == "index") label = qt_("List of Indexes"); - else if (cit->first == "listing") - label = qt_("List of Listings"); + else if (cit->first == "listing") { + // FIXME: the listing navigate menu causes a crash for unknown + // reason. See http://bugzilla.lyx.org/show_bug.cgi?id=4613 + // This is a temporary fix: + //label = qt_("List of Listings"); + continue; + } else if (cit->first == "marginalnote") label = qt_("List of Marginal notes"); else if (cit->first == "note") -- 2.39.2