aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmbyday <mmbyday@protonmail.com>2019-05-14 21:56:06 -0700
committermmbyday <mmbyday@protonmail.com>2019-05-24 12:01:23 -0700
commitd518b204b1b6714915dee19be0033c66f237e910 (patch)
tree793f8df7b95a92d3b67742637ae182dbe8f2f929
parentc286c7e5a8e67d769bc9054f661ab742a8b1a5ba (diff)
downloadmonzero-gui-d518b204b1b6714915dee19be0033c66f237e910.tar.gz
monzero-gui-d518b204b1b6714915dee19be0033c66f237e910.tar.xz
monzero-gui-d518b204b1b6714915dee19be0033c66f237e910.zip
WizardSummary: always show restore height when restoring from seed/keys/device
-rw-r--r--wizard/WizardSummary.qml8
1 files changed, 1 insertions, 7 deletions
diff --git a/wizard/WizardSummary.qml b/wizard/WizardSummary.qml
index 8ee5ae77..1698d28e 100644
--- a/wizard/WizardSummary.qml
+++ b/wizard/WizardSummary.qml
@@ -67,13 +67,7 @@ ColumnLayout {
Layout.fillWidth: true
header: qsTr("Restore height") + translationManager.emptyString
value: wizardController.walletOptionsRestoreHeight
- visible: {
- if (walletOptionsIsRecoveringFromDevice && !wizardController.walletOptionsDeviceIsRestore) {
- return false;
- } else {
- return (wizardController.walletOptionsRestoreHeight > 0);
- }
- }
+ visible: wizardStateView.state === "wizardRestoreWallet4" || wizardController.walletOptionsIsRecoveringFromDevice
}
WizardSummaryItem {