QML: Accept Subscribe dialog on EnterKey in URL entry

This commit is contained in:
Thomas Perl 2014-01-30 19:20:59 +01:00
parent 8a9b29aed2
commit 35c6e5a2e6

View file

@ -49,6 +49,7 @@ Dialog {
label: 'Feed URL' label: 'Feed URL'
placeholderText: label placeholderText: label
inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase inputMethodHints: Qt.ImhUrlCharactersOnly | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
EnterKey.onClicked: subscribe.accept()
} }
} }
} }