Instant preview of external material uses scaling from latex settings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27928 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-12-20 01:30:57 +00:00
parent d6f30aac95
commit 05879ba39f

View File

@ -513,7 +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);
displayGB->setEnabled(lyxrc.display_graphics &&
(params_.preview_mode != PREVIEW_INSTANT));
setRotation(*angleED, *originCO, params_.rotationdata);