Skip to content
Snippets Groups Projects
Commit 2e1d843f authored by Dominik Haumann's avatar Dominik Haumann
Browse files

fix ambiguous shortcuts with file browser

BUG: 236368
BUG: 188954
parent d87b251c
No related branches found
No related tags found
No related merge requests found
......@@ -328,8 +328,18 @@ void KateFileBrowser::setupActions()
optionsMenu->addAction(m_autoSyncFolder);
m_actionCollection->addAction("configure", optionsMenu);
//
// Remove all shortcuts due to shortcut clashes (e.g. F5: reload, Ctrl+B: bookmark)
// BUGS: #188954, #236368
//
foreach (QAction* a, m_actionCollection->actions()) {
a->setShortcut(QKeySequence());
}
foreach (QAction* a, m_dirOperator->actionCollection()->actions()) {
a->setShortcut(QKeySequence());
}
}
//END Protected
// kate: space-indent on; indent-width 2; replace-tabs on;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment