Commit 06b74c3b authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

avoid auto-accelerators for the tab bar that lead to random changing...

avoid auto-accelerators for the tab bar that lead to random changing auto-accelerators for important actions

BUG: 426619
parent 9e74f90f
......@@ -16,6 +16,7 @@
#include <QStyleOptionTab>
#include <QWheelEvent>
#include <KAcceleratorManager>
#include <KConfigGroup>
#include <KSharedConfig>
......@@ -33,6 +34,9 @@ Q_DECLARE_METATYPE(KateTabButtonData)
KateTabBar::KateTabBar(QWidget *parent)
: QTabBar(parent)
{
// we want no auto-accelerators here
KAcceleratorManager::setNoAccel(this);
// enable document mode, docs tell this will trigger:
// On macOS this will look similar to the tabs in Safari or Sierra's Terminal.app.
// this seems reasonable for our document tabs
......
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