Commit 06da55db authored by Oliver Bock's avatar Oliver Bock
Browse files

Don't allow menu bar when in fullscreen mode (because of changed background role)

parent 01ba6993
...@@ -225,7 +225,8 @@ void PulsatingScience::menuBarToggled() ...@@ -225,7 +225,8 @@ void PulsatingScience::menuBarToggled()
on_actionMenu_bar_toggled(false); on_actionMenu_bar_toggled(false);
ui.actionMenu_bar->setChecked(false); ui.actionMenu_bar->setChecked(false);
} }
else { else if(!ui.actionFullscreen->isChecked()) {
// allow menu bar only when NOT in fullscreen mode
on_actionMenu_bar_toggled(true); on_actionMenu_bar_toggled(true);
ui.actionMenu_bar->setChecked(true); ui.actionMenu_bar->setChecked(true);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment