]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QPrefs.C
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QPrefs.C
index 5287e5dfda4ee3e2ae95f2944214d9f05e1b103b..b93330ae050d1e348e33652704d9774b6247a678 100644 (file)
@@ -232,10 +232,10 @@ void QPrefs::apply()
        QPrefScreenFontsModule * fontmod(dialog_->screenfontsModule);
 
        LyXRC const oldrc(rc);
+
        boost::tie(rc.roman_font_name, rc.roman_font_foundry)
                = parseFontName(fontmod->screenRomanCO->currentText().latin1());
-       boost::tie(rc.sans_font_name, rc.sans_font_foundry) = 
+       boost::tie(rc.sans_font_name, rc.sans_font_foundry) =
                parseFontName(fontmod->screenSansCO->currentText().latin1());
        boost::tie(rc.typewriter_font_name, rc.typewriter_font_foundry) =
                parseFontName(fontmod->screenTypewriterCO->currentText().latin1());
@@ -475,7 +475,7 @@ void QPrefs::update_contents()
        dialog_->select_roman(fontmod->screenRomanCO->currentText());
        dialog_->select_sans(fontmod->screenSansCO->currentText());
        dialog_->select_typewriter(fontmod->screenTypewriterCO->currentText());
+
        fontmod->screenZoomSB->setValue(rc.zoom);
        fontmod->screenDpiSB->setValue(int(rc.dpi));
        fontmod->screenTinyED->setText(tostr(rc.font_sizes[LyXFont::SIZE_TINY]).c_str());