Commit 32529894 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

hide tool views action menu

parent 65d0fa05
......@@ -9,6 +9,7 @@
*/
#include "katemdi.h"
#include "kateapp.h"
// #include "katedebug.h"
......@@ -114,6 +115,11 @@ GUIClient::GUIClient(MainWindow *mw)
for (QAction *action : actions) {
action->setShortcutContext(Qt::WidgetWithChildrenShortcut);
}
// hide tool views menu for KWrite mode
if (KateApp::isKWrite()) {
m_toolMenu->setVisible(false);
}
}
void GUIClient::updateSidebarsVisibleAction()
......
Supports Markdown
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