From a64c8061835f991e1bd9d99e1abfd554f67d001e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 21 Feb 2012 11:48:28 +0100 Subject: Update bk toolbar action state Cherry-picked from 20e0b62653 --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 1d2304c4..0421136f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -271,6 +271,7 @@ void MainWindow::postLaunch() // Bookmarks bar action a = actionByName(QL1S("show_bookmarks_toolbar")); a->setChecked(XMLGUIBkBar->isVisible()); + connect(XMLGUIBkBar, SIGNAL(visibilityChanged(bool)), a, SLOT(setChecked(bool))); // History panel action a = actionByName(QL1S("show_history_panel")); -- cgit v1.2.1