Update tool tip text for "Show / Hide Sidebar" wrt current state.

This commit is contained in:
con
2009-12-08 18:29:44 +01:00
parent fec9dc0e80
commit 6e1832d55d
3 changed files with 12 additions and 0 deletions

View File

@@ -716,6 +716,7 @@ void MainWindow::registerDefaultActions()
tr("Show Sidebar"), this);
m_toggleSideBarAction->setCheckable(true);
cmd = am->registerAction(m_toggleSideBarAction, Constants::TOGGLE_SIDEBAR, m_globalContext);
cmd->setAttribute(Command::CA_UpdateText);
#ifdef Q_WS_MAC
cmd->setDefaultKeySequence(QKeySequence("Ctrl+0"));
#else