Commit 4375da4a authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

kate: show commandbar action in menu

parent 0f859dc6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="kate" version="88" translationDomain="kate">
<gui name="kate" version="89" translationDomain="kate">
<MenuBar>
<Menu name="file" noMerge="1">
<text>&amp;File</text>
......@@ -58,6 +58,8 @@
<Action name="view_lru_document_next"/>
<Action name="view_quick_open"/>
<Separator/>
<Action name="view_commandbar_open"/>
<Separator/>
<Menu name="view-split">
<text>Split View</text>
<Action name="go_prev_split_view"/>
......
......@@ -251,6 +251,7 @@ void KateMainWindow::setupImportantActions()
// kate command bar
a = actionCollection()->addAction(QStringLiteral("view_commandbar_open"));
a->setText(i18n("&Command Bar"));
actionCollection()->setDefaultShortcut(a, QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_I));
connect(a, &QAction::triggered, this, &KateMainWindow::slotCommandBarOpen);
}
......
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