]> git.lyx.org Git - features.git/commitdiff
temporary fix for http://bugzilla.lyx.org/show_bug.cgi?id=4613
authorAbdelrazak Younes <younes@lyx.org>
Fri, 21 Mar 2008 18:18:46 +0000 (18:18 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 21 Mar 2008 18:18:46 +0000 (18:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23882 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/Menus.cpp

index bbb03d8350005aa9447946a6b3317c654a7b94eb..4496ff744cde32eafba840685e2133df014bb685 100644 (file)
@@ -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")