mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
Merge pull request #3988
f796be3
trim restore height at info -> change height input (plowsof)
This commit is contained in:
commit
e668995673
@ -191,7 +191,7 @@ Rectangle {
|
|||||||
inputDialog.onAcceptedCallback = function() {
|
inputDialog.onAcceptedCallback = function() {
|
||||||
var _restoreHeight;
|
var _restoreHeight;
|
||||||
if (inputDialog.inputText) {
|
if (inputDialog.inputText) {
|
||||||
_restoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(inputDialog.inputText);
|
_restoreHeight = Utils.parseDateStringOrRestoreHeightAsInteger(inputDialog.inputText.trim());
|
||||||
}
|
}
|
||||||
if (!isNaN(_restoreHeight)) {
|
if (!isNaN(_restoreHeight)) {
|
||||||
if(_restoreHeight >= 0) {
|
if(_restoreHeight >= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user