SettingsInfo: fix number string formatting

This commit is contained in:
selsta 2020-04-25 20:55:32 +02:00
parent 585fb2810d
commit fdb7f806fa
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -230,7 +230,7 @@ Rectangle {
appWindow.showStatusMessage(qsTr("Invalid restore height specified. Must be a number or a date formatted YYYY-MM-DD"),3); appWindow.showStatusMessage(qsTr("Invalid restore height specified. Must be a number or a date formatted YYYY-MM-DD"),3);
} }
inputDialog.onRejectedCallback = null; inputDialog.onRejectedCallback = null;
inputDialog.open(currentWallet ? currentWallet.walletCreationHeight : "0") inputDialog.open(currentWallet ? currentWallet.walletCreationHeight.toFixed(0) : "0")
} }
MouseArea { MouseArea {