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