From 58dc79074c3fc8f94857af128c1021486deb22e2 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Fri, 29 Jan 2021 18:18:39 -0500 Subject: [PATCH] Close user profile dialog on Esc --- resources/qml/UserProfile.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml index fce6e6ff..a1fbfa41 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml @@ -18,6 +18,11 @@ ApplicationWindow { palette: colors color: colors.window + Shortcut { + sequence: StandardKey.Cancel + onActivated: userProfileDialog.close() + } + ColumnLayout { id: contentL