mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-18 12:11:52 +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;
|
||||
if (currentBufferView()->buffer().areChangesPresent()
|
||||
|| (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;
|
||||
if (lyx::getStatus(FuncRequest(LFUN_IN_MATHMACROTEMPLATE)).enabled())
|
||||
context |= Toolbars::MATHMACROTEMPLATE;
|
||||
|
Loading…
Reference in New Issue
Block a user