mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
Shell: Fix sync "Show menubar" action status
No need to sync it when Shell uses a native menubar
This commit is contained in:
parent
451bb151c2
commit
3b5f19fd9d
|
@ -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() );
|
||||
|
||||
KParts::MainWindow::showEvent(e);
|
||||
|
|
Loading…
Reference in a new issue