SettingsInfo: fix number string formatting

This commit is contained in:
selsta
2020-04-25 20:55:32 +02:00
parent 585fb2810d
commit fdb7f806fa

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 {