Add KF6 TODO to investigate setting focusPolicy: Qt.TabFocus by default

GIT_SILENT
This commit is contained in:
Nate Graham 2021-06-14 08:04:23 -06:00
parent 19c8c7dc2e
commit 06747e5924

View File

@ -32,6 +32,9 @@ T.ToolButton {
Kirigami.MnemonicData.controlType: Kirigami.MnemonicData.SecondaryControl
Kirigami.MnemonicData.label: control.text
// KF6 TODO: investigate setting this by default
// focusPolicy: Qt.TabFocus
Shortcut {
//in case of explicit & the button manages it by itself
enabled: !(RegExp(/\&[^\&]/).test(control.text))