Merge pull request #283

f2b8401 Wizard: prevent linebreaks in wallet name (Jaquee)
This commit is contained in:
Riccardo Spagni 2016-12-15 17:16:42 +02:00
commit 16ff89cdd7
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -116,7 +116,7 @@ Item {
width: 300
height: 62
TextEdit {
TextInput {
id: accountName
anchors.fill: parent
horizontalAlignment: TextInput.AlignHCenter
@ -127,7 +127,7 @@ Item {
color: "#FF6C3C"
focus: true
text: defaultAccountName
selectByMouse: true
Keys.onReleased: {
wizard.nextButton.enabled = (accountName.length > 0)