aboutsummaryrefslogtreecommitdiff
path: root/components/InputDialog.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/InputDialog.qml')
-rw-r--r--components/InputDialog.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/InputDialog.qml b/components/InputDialog.qml
index 2a69e79f..0bd2c5f4 100644
--- a/components/InputDialog.qml
+++ b/components/InputDialog.qml
@@ -110,6 +110,8 @@ Item {
color: MoneroComponents.Style.blackTheme ? "black" : "#A9FFFFFF"
}
+ Keys.enabled: root.visible
+ Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: {
root.close()
root.accepted()