From 17a7e0108b0a2b4fbd8cb7c1e5d6e269505092e6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 16 Sep 2021 16:57:45 +0200 Subject: Fix tab navigation --- Sidebar.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Sidebar.qml') 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 -- cgit v1.3