]> git.lyx.org Git - lyx.git/commitdiff
Do not attempt to add dynamic quotes to the style combo
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 26 Dec 2016 10:25:34 +0000 (11:25 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 26 Dec 2016 10:25:34 +0000 (11:25 +0100)
src/frontends/qt4/GuiDocument.cpp

index f4d00b6595ed690fb441ea17e71df12cde6e2490..6ef39dcb4def5ac21e4392e1f1647b87507beca5 100644 (file)
@@ -1071,6 +1071,8 @@ GuiDocument::GuiDocument(GuiView & lv)
 
        for (int i = 0; i < quoteparams.stylescount(); ++i) {
                InsetQuotesParams::QuoteStyle qs = InsetQuotesParams::QuoteStyle(i);
+               if (qs == InsetQuotesParams::DynamicQuotes)
+                       continue;
                langModule->quoteStyleCO->addItem(toqstr(quoteparams.getGuiLabel(qs)), qs);
        }