Commit 254d2a0b authored by Dominik Haumann's avatar Dominik Haumann
Browse files

External tools action menu: Replace & by && to avoid accelerators

parent 0bef5304
......@@ -66,7 +66,7 @@ void KateExternalToolsMenuAction::reload()
// first add categorized actions, such that the submenus appear at the top
for (auto tool : m_plugin->tools()) {
if (tool->hasexec) {
auto a = new QAction(tool->translatedName(), this);
auto a = new QAction(tool->translatedName().replace(QLatin1Char('&'), QLatin1String("&&")), this);
a->setIcon(QIcon::fromTheme(tool->icon));
a->setData(QVariant::fromValue(tool));
......
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