]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphincontextmenu.cpp
Fixed issue that the "Show Menu Bar" state is not updated correctly (workaround for...
[dolphin.git] / src / dolphincontextmenu.cpp
index 55b83c552ca9130c5aa8f89257b2bf10e839a14b..7edfdb2852f4c38b86dd954d5ceb2f6f66f04457 100644 (file)
@@ -322,10 +322,6 @@ void DolphinContextMenu::addShowMenubarAction(KMenu* menu)
 {
     KAction* showMenuBar = m_mainWindow->showMenuBarAction();
     if (!m_mainWindow->menuBar()->isVisible()) {
 {
     KAction* showMenuBar = m_mainWindow->showMenuBarAction();
     if (!m_mainWindow->menuBar()->isVisible()) {
-        // TODO: it should not be necessary to uncheck the menu
-        // bar action, but currently the action states don't get
-        // updated if the menu is disabled
-        showMenuBar->setChecked(false);
         menu->addAction(showMenuBar);
         menu->addSeparator();
     }
         menu->addAction(showMenuBar);
         menu->addSeparator();
     }