Fixes: - Make the "Toggle Sidebar" button be a toggle button

Task:     - 235542
This commit is contained in:
con
2009-01-06 17:03:08 +01:00
parent aa3b488e79
commit 92bbbc95c8
2 changed files with 7 additions and 1 deletions

View File

@@ -625,6 +625,7 @@ void MainWindow::registerDefaultActions()
// Toggle Sidebar Action
m_toggleSideBarAction = new QAction(QIcon(Constants::ICON_TOGGLE_SIDEBAR),
tr("Toggle Sidebar"), this);
m_toggleSideBarAction->setCheckable(true);
cmd = am->registerAction(m_toggleSideBarAction, Constants::TOGGLE_SIDEBAR, m_globalContext);
#ifdef Q_OS_MAC
cmd->setDefaultKeySequence(QKeySequence("Ctrl+0"));