mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
gcc warning...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27509 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0933ba6880
commit
e55abfd359
@ -892,10 +892,10 @@ void GuiToolbar::update(bool in_math, bool in_table, bool in_review,
|
||||
bool in_mathmacrotemplate)
|
||||
{
|
||||
if (visibility_ & Toolbars::AUTO) {
|
||||
bool show_it = in_math && (visibility_ & Toolbars::MATH)
|
||||
|| in_table && (visibility_ & Toolbars::TABLE)
|
||||
|| in_review && (visibility_ & Toolbars::REVIEW)
|
||||
|| in_mathmacrotemplate && (visibility_ & Toolbars::MATHMACROTEMPLATE);
|
||||
bool show_it = (in_math && (visibility_ & Toolbars::MATH))
|
||||
|| (in_table && (visibility_ & Toolbars::TABLE))
|
||||
|| (in_review && (visibility_ & Toolbars::REVIEW))
|
||||
|| (in_mathmacrotemplate && (visibility_ & Toolbars::MATHMACROTEMPLATE));
|
||||
setVisible(show_it);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user