mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
rc.preview and rc.display_graphics are completely unrelated (bug 7562)
This commit is contained in:
parent
51c380440b
commit
6bf00d9fed
@ -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(
|
||||
|
@ -276,7 +276,6 @@ public:
|
||||
|
||||
private Q_SLOTS:
|
||||
void on_instantPreviewCO_currentIndexChanged(int);
|
||||
void on_displayGraphicsCB_toggled(bool);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user