From aee1c6c7854ac3c673abc7f587d5759995e6e991 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sat, 20 Dec 2008 10:06:31 +0000 Subject: [PATCH] Affect only scale box. Thanks Juergen. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27932 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiExternal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiExternal.cpp b/src/frontends/qt4/GuiExternal.cpp index c4a58ceaf8..670c1f866c 100644 --- a/src/frontends/qt4/GuiExternal.cpp +++ b/src/frontends/qt4/GuiExternal.cpp @@ -513,8 +513,8 @@ void GuiExternal::updateContents() displayGB->setChecked(params_.display); displayscaleED->setEnabled(params_.display && !isBufferReadonly()); displayscaleED->setText(QString::number(params_.lyxscale)); - displayGB->setEnabled(lyxrc.display_graphics && - (params_.preview_mode != PREVIEW_INSTANT)); + displayGB->setEnabled(lyxrc.display_graphics); + displayscaleED->setEnabled(params_.preview_mode != PREVIEW_INSTANT); setRotation(*angleED, *originCO, params_.rotationdata);