mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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
d8831eff15
commit
ee18af67cd
@ -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