From 43e94176634fb57952d3947aabe76694cca9f535 Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Fri, 4 Jan 2013 22:42:25 +0100 Subject: [PATCH] Fixed Issue #148: Menubar toggle state is not remembered on program restart. --- mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cc b/mainwindow.cc index 5a96064e..d16ee729 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -2647,7 +2647,7 @@ void MainWindow::useSmallIconsInToolbarsTriggered() void MainWindow::toggleMenuBarTriggered(bool announce) { - cfg.preferences.hideMenubar = menuBar()->isVisible(); + cfg.preferences.hideMenubar = !toggleMenuBarAction.isChecked(); if ( announce ) {