[Konversation-devel] [Bug 260682] Canceling menu bar hide keeps "show menu bar" action unchecked
Peter Simonsson
peter.simonsson at gmail.com
Sun Dec 19 10:02:45 CET 2010
https://bugs.kde.org/show_bug.cgi?id=260682
Peter Simonsson <peter.simonsson at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Peter Simonsson <peter simonsson gmail com> 2010-12-19 10:02:44 ---
commit 0f1260e6344387f91341c243e0ebd2328260431e
branch master
Author: Peter Simonsson <peter.simonsson at gmail.com>
Date: Sun Dec 19 10:01:42 2010 +0100
Update the action on canceling the menu bar hide
The action was not updated if the hiding of the menu bar was canceled
from the warning dialog.
BUG:260682
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4e0fb5e..3fc4a5b 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -726,6 +726,8 @@ void MainWindow::toggleMenubar(bool dontShowWarning)
}
if (doit)
menuBar()->hide();
+ else
+ hideMenuBarAction->setChecked (true);
}
Preferences::self()->setShowMenuBar(hideMenuBarAction->isChecked());
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Konversation-devel
mailing list