1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-14 07:09:09 +01:00

Wizard: prevent linebreaks in wallet name

This commit is contained in:
Jaquee 2016-12-15 00:58:03 +01:00
parent 160a042165
commit f2b8401811
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39

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)