]> git.lyx.org Git - features.git/commitdiff
Affect only scale box. Thanks Juergen.
authorPavel Sanda <sanda@lyx.org>
Sat, 20 Dec 2008 10:06:31 +0000 (10:06 +0000)
committerPavel Sanda <sanda@lyx.org>
Sat, 20 Dec 2008 10:06:31 +0000 (10:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27932 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiExternal.cpp

index c4a58ceaf8fbcabba12e6ad0ca74b10f6db5c3a1..670c1f866c38936409246138c1311513894c4637 100644 (file)
@@ -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);