Commit 606bac41 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix shortcut collision

parent dc919642
......@@ -103,6 +103,7 @@ void TabSwitcherPluginView::setupActions()
auto aClose = actionCollection()->addAction(QStringLiteral("view_lru_document_close"));
aClose->setText(i18n("Close View"));
aClose->setShortcutContext(Qt::WidgetShortcut);
actionCollection()->setDefaultShortcut(aClose, Qt::CTRL | Qt::Key_W);
aClose->setWhatsThis(i18n("Closes the selected view in the list of last used views."));
aClose->setStatusTip(i18n("Closes the selected view in the list of last used views."));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment