summaryrefslogtreecommitdiff
path: root/Sidebar.qml
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2021-09-16 16:57:45 +0200
committerTimotej Lazar <timotej.lazar@araneo.si>2021-09-16 20:34:28 +0200
commit17a7e0108b0a2b4fbd8cb7c1e5d6e269505092e6 (patch)
tree0636939fd1eb52bb9453631352c3739a25795160 /Sidebar.qml
parentb5ae104bcddcc6a6a9cf73eab47bb43fe3a6ad14 (diff)
Fix tab navigation
Diffstat (limited to 'Sidebar.qml')
-rw-r--r--Sidebar.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Sidebar.qml b/Sidebar.qml
index 6c45ccc..fbf1eac 100644
--- a/Sidebar.qml
+++ b/Sidebar.qml
@@ -122,7 +122,7 @@ Page {
onTextChanged: modified = true
KeyNavigation.priority: KeyNavigation.BeforeItem
- KeyNavigation.tab: events
+ KeyNavigation.tab: nextItemInFocusChain()
Shortcut {
id: shortcutDescription
@@ -168,8 +168,10 @@ Page {
Layout.fillHeight: true
Layout.rightMargin: -control.padding
+ focusPolicy: Qt.StrongFocus
padding: 1
rightPadding: 0
+
background: Rectangle {
color: 'transparent'
border.color: events.activeFocus ? palette.highlight : palette.dark