"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.
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;