From d09f87c3ca895e53ff77ca47918778e257826806 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Thu, 8 Mar 2012 16:43:05 +0000 Subject: [PATCH] Don't show citation engines in the list of modules. They are found under the bibliography settings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40888 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index d71c6b5a95..565da96f2f 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -3647,7 +3647,8 @@ void GuiDocument::loadModuleInfo() if (pos > 0) desc.truncate(pos + 1); m.description = desc; - moduleNames_.push_back(m); + if (it->category().substr(0, 8) != "Citation") + moduleNames_.push_back(m); } } -- 2.39.2