summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-05 06:27:06 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-05 06:27:06 -0800
commit703c3de880d16949981fc5d35e9328c3ef80a62d (patch)
tree785be406fbb3a1ef85c3871c6958cca7de7980d7 /qt-mobile/qml
parent091d099368039b5445e6c40e5dc6348e4a9cc9d1 (diff)
downloadsubsurface-703c3de880d16949981fc5d35e9328c3ef80a62d.tar.gz
QML-UI: mark email entry field as such
I hoped that this would show the "email keyboard" on Android that includes the '@' sign without having to switch layers but that didn't seem to work. I'll leave this here, anyway, as it seems like the right thing to do since this input field is indeed for an email address. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/CloudCredentials.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml
index fafa26091..aa85f1fa5 100644
--- a/qt-mobile/qml/CloudCredentials.qml
+++ b/qt-mobile/qml/CloudCredentials.qml
@@ -42,6 +42,7 @@ Item {
id: password
text: manager.cloudPassword
echoMode: TextInput.Password
+ inputMethodHints: Qt.ImhEmailCharactersOnly
Layout.fillWidth: true
}
GridLayout {