mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
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:
parent
daf04218bf
commit
7ca73f03ef
@ -514,6 +514,7 @@ void GuiExternal::updateContents()
|
|||||||
displayscaleED->setEnabled(params_.display && !isBufferReadonly());
|
displayscaleED->setEnabled(params_.display && !isBufferReadonly());
|
||||||
displayscaleED->setText(QString::number(params_.lyxscale));
|
displayscaleED->setText(QString::number(params_.lyxscale));
|
||||||
displayGB->setEnabled(lyxrc.display_graphics);
|
displayGB->setEnabled(lyxrc.display_graphics);
|
||||||
|
displayscaleED->setEnabled(params_.preview_mode != PREVIEW_INSTANT);
|
||||||
|
|
||||||
setRotation(*angleED, *originCO, params_.rotationdata);
|
setRotation(*angleED, *originCO, params_.rotationdata);
|
||||||
|
|
||||||
@ -555,6 +556,7 @@ void GuiExternal::updateTemplate()
|
|||||||
|
|
||||||
found = std::find(tr_begin, tr_end, external::Extra) != tr_end;
|
found = std::find(tr_begin, tr_end, external::Extra) != tr_end;
|
||||||
optionsGB->setEnabled(found);
|
optionsGB->setEnabled(found);
|
||||||
|
displayscaleED->setEnabled(templ.preview_mode != PREVIEW_INSTANT);
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
return;
|
return;
|
||||||
|
@ -74,6 +74,8 @@ What's new
|
|||||||
rather than completely over-writing it---agreeing with the behavior of our
|
rather than completely over-writing it---agreeing with the behavior of our
|
||||||
normal Style declarations.
|
normal Style declarations.
|
||||||
|
|
||||||
|
- Reflect external material template using Instant Preview in the dialog for
|
||||||
|
scaling property (bug 5628).
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user