From 20e0b62653400fd70ebf8610690672a406685524 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 --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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