rc.preview and rc.display_graphics are completely unrelated (bug 7562)

(cherry picked from commit 6bf00d9fed)
This commit is contained in:
Juergen Spitzmueller 2012-09-17 11:36:29 +02:00
parent 212af25fb2
commit 5fd8bda31a
3 changed files with 3 additions and 9 deletions

View 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(

View File

@ -281,7 +281,6 @@ public:
private Q_SLOTS:
void on_instantPreviewCO_currentIndexChanged(int);
void on_displayGraphicsCB_toggled(bool);
};

View 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