Do not attempt to add dynamic quotes to the style combo

This commit is contained in:
Juergen Spitzmueller 2016-12-26 11:25:34 +01:00
parent e4b84371ac
commit 229f3863f9

View 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);
}