]> git.lyx.org Git - features.git/commitdiff
Correctly set quote styles combo
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Jan 2017 19:07:45 +0000 (20:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 7 Jan 2017 19:07:45 +0000 (20:07 +0100)
src/frontends/qt4/GuiDocument.cpp

index 453e45dae31b6a8a211693764b95fe7ad9ea1c0d..e836bd7f98c1db683f6e9c9a24cff8f1e0149712 100644 (file)
@@ -3092,7 +3092,7 @@ void GuiDocument::paramsToDialog()
        updateQuoteStyles();
 
        langModule->quoteStyleCO->setCurrentIndex(
-               bp_.quotes_style);
+               langModule->quoteStyleCO->findData(bp_.quotes_style));
        langModule->dynamicQuotesCB->setChecked(bp_.dynamic_quotes);
 
        bool default_enc = true;