Commit 3b5f19fd authored by Albert Astals Cid's avatar Albert Astals Cid

Shell: Fix sync "Show menubar" action status

No need to sync it when Shell uses a native menubar
parent 451bb151
......@@ -497,7 +497,7 @@ void Shell::setFullScreen( bool useFullScreen )
void Shell::showEvent(QShowEvent *e)
if (m_showMenuBarAction)
if (!menuBar()->isNativeMenuBar() && m_showMenuBarAction)
m_showMenuBarAction->setChecked( menuBar()->isVisible() );
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