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:
parent
160a042165
commit
f2b8401811
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user