diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:19:32 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-12-19 19:19:32 -0500 |
| commit | abd98b95f6e7d98544a0c1becc5aa719abfaeadb (patch) | |
| tree | cb096bcdfba99dbb195adba7436100a9483b658c /components/InputDialog.qml | |
| parent | 78f8cb259532de5626e90f1e1992bfe6ce0ef089 (diff) | |
| parent | 38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d (diff) | |
| download | monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.tar.gz monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.tar.xz monzero-gui-abd98b95f6e7d98544a0c1becc5aa719abfaeadb.zip | |
Merge pull request #2578
38d412a components: handle enter and return (selsta)
Diffstat (limited to 'components/InputDialog.qml')
| -rw-r--r-- | components/InputDialog.qml | 2 |
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() |
