diff options
| author | selsta <selsta@sent.at> | 2019-12-10 02:48:03 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-12-10 02:52:15 +0100 |
| commit | 38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d (patch) | |
| tree | 07c97f4261adc51ade28fa0df1024a8208fe4b0f /components/InlineButton.qml | |
| parent | f03ea0461c3a9ae897e44af64ac6caf2cc92b9c9 (diff) | |
| download | monzero-gui-38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d.tar.gz monzero-gui-38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d.tar.xz monzero-gui-38d412a3fa3bcf7b200bfc88b9a00a22e3b6601d.zip | |
components: handle enter and return
Diffstat (limited to 'components/InlineButton.qml')
| -rw-r--r-- | components/InlineButton.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml index 45cf841c..402dade2 100644 --- a/components/InlineButton.qml +++ b/components/InlineButton.qml @@ -125,6 +125,8 @@ Item { source: rect } + Keys.enabled: inlineButton.visible Keys.onSpacePressed: doClick() + Keys.onEnterPressed: Keys.onReturnPressed(event) Keys.onReturnPressed: doClick() } |
