mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 07:16:48 +00:00
Show review toolbar when outputting changes
"Output changes" alters the preamble even in the absence of tracked changes. Therefore, not being able to notice when it is activated can possibly yield hard-to-debug compilation failures.
This commit is contained in:
parent
bc40386a6e
commit
1a836459fb
@ -1554,7 +1554,9 @@ void GuiView::updateToolbars()
|
|||||||
context |= Toolbars::TABLE;
|
context |= Toolbars::TABLE;
|
||||||
if (currentBufferView()->buffer().areChangesPresent()
|
if (currentBufferView()->buffer().areChangesPresent()
|
||||||
|| (lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).enabled()
|
|| (lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).enabled()
|
||||||
&& lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).onOff(true)))
|
&& lyx::getStatus(FuncRequest(LFUN_CHANGES_TRACK)).onOff(true))
|
||||||
|
|| (lyx::getStatus(FuncRequest(LFUN_CHANGES_OUTPUT)).enabled()
|
||||||
|
&& lyx::getStatus(FuncRequest(LFUN_CHANGES_OUTPUT)).onOff(true)))
|
||||||
context |= Toolbars::REVIEW;
|
context |= Toolbars::REVIEW;
|
||||||
if (lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled())
|
if (lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled())
|
||||||
context |= Toolbars::MATHMACROTEMPLATE;
|
context |= Toolbars::MATHMACROTEMPLATE;
|
||||||
|
Loading…
Reference in New Issue
Block a user