]> git.lyx.org Git - features.git/commitdiff
rc.preview and rc.display_graphics are completely unrelated (bug 7562)
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 17 Sep 2012 09:36:29 +0000 (11:36 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 19 Sep 2012 15:15:57 +0000 (17:15 +0200)
(cherry picked from commit 6bf00d9feddbd41a776b6b8a1f3a1278413b1cbe)

src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiPrefs.h
status.20x

index 1413ada3bd4aa85be3534bbef74cbae2e14b515c..2319bfb30496f52537b911db0ed8a2f8373f5520 100644 (file)
@@ -1243,13 +1243,6 @@ void PrefDisplay::on_instantPreviewCO_currentIndexChanged(int index)
 }
 
 
-void PrefDisplay::on_displayGraphicsCB_toggled(bool on)
-{
-       instantPreviewCO->setEnabled(on);
-       previewSizeSB->setEnabled(on && instantPreviewCO->currentIndex() > 0);
-}
-
-
 void PrefDisplay::apply(LyXRC & rc) const
 {
        switch (instantPreviewCO->currentIndex()) {
@@ -1293,7 +1286,6 @@ void PrefDisplay::update(LyXRC const & rc)
        }
 
        displayGraphicsCB->setChecked(rc.display_graphics);
-       instantPreviewCO->setEnabled(rc.display_graphics);
        previewSizeSB->setValue(rc.preview_scale_factor);
        paragraphMarkerCB->setChecked(rc.paragraph_markers);
        previewSizeSB->setEnabled(
index d567ca683a198195804198e703aff0fb6868d200..57b9a32cfcc6223acd12397c7218ec6b814bfa4c 100644 (file)
@@ -281,7 +281,6 @@ public:
 
 private Q_SLOTS:
        void on_instantPreviewCO_currentIndexChanged(int);
-       void on_displayGraphicsCB_toggled(bool);
 };
 
 
index cad8ff93e11e9eb16ab9f49deaf034e84dd9829e..b69d477762d1ed51822035dd2227166a891f25c5 100644 (file)
@@ -156,6 +156,9 @@ What's new
 - When using a non-default language for the GUI, do not change locale
   settings of child proceses (bug 7741).
 
+- Do not disable Instant Preview widgets in preferences when Display
+  Graphics is unchecked (bug 7462).
+
 
 * DOCUMENTATION AND LOCALIZATION