Backport for 5628.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27934 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-12-20 10:14:48 +00:00
parent daf04218bf
commit 7ca73f03ef
2 changed files with 4 additions and 0 deletions

View File

@ -514,6 +514,7 @@ void GuiExternal::updateContents()
displayscaleED->setEnabled(params_.display && !isBufferReadonly());
displayscaleED->setText(QString::number(params_.lyxscale));
displayGB->setEnabled(lyxrc.display_graphics);
displayscaleED->setEnabled(params_.preview_mode != PREVIEW_INSTANT);
setRotation(*angleED, *originCO, params_.rotationdata);
@ -555,6 +556,7 @@ void GuiExternal::updateTemplate()
found = std::find(tr_begin, tr_end, external::Extra) != tr_end;
optionsGB->setEnabled(found);
displayscaleED->setEnabled(templ.preview_mode != PREVIEW_INSTANT);
if (!found)
return;

View File

@ -74,6 +74,8 @@ What's new
rather than completely over-writing it---agreeing with the behavior of our
normal Style declarations.
- Reflect external material template using Instant Preview in the dialog for
scaling property (bug 5628).
* DOCUMENTATION AND LOCALIZATION