From 229f3863f968a253e46137088ce2e49e0ede6ddf Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 26 Dec 2016 11:25:34 +0100 Subject: [PATCH] Do not attempt to add dynamic quotes to the style combo --- src/frontends/qt4/GuiDocument.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index f4d00b6595..6ef39dcb4d 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -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); }