]> git.lyx.org Git - lyx.git/commitdiff
Don't show citation engines in the list of modules. They are found under the bibliogr...
authorJulien Rioux <jrioux@lyx.org>
Thu, 8 Mar 2012 16:43:05 +0000 (16:43 +0000)
committerJulien Rioux <jrioux@lyx.org>
Thu, 8 Mar 2012 16:43:05 +0000 (16:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40888 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDocument.cpp

index d71c6b5a95b9cf7b74b64cb9dc739a334330c321..565da96f2fc76b3dd0aaa5e07394a44c76aa894c 100644 (file)
@@ -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);
        }
 }