aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardSummary.qml
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/WizardSummary.qml')
-rw-r--r--wizard/WizardSummary.qml8
1 files changed, 7 insertions, 1 deletions
diff --git a/wizard/WizardSummary.qml b/wizard/WizardSummary.qml
index 5b62a345..e3e576e4 100644
--- a/wizard/WizardSummary.qml
+++ b/wizard/WizardSummary.qml
@@ -67,7 +67,13 @@ ColumnLayout {
Layout.fillWidth: true
header: qsTr("Restore height") + translationManager.emptyString
value: wizardController.walletOptionsRestoreHeight
- visible: wizardController.walletOptionsRestoreHeight > 0
+ visible: {
+ if (walletOptionsIsRecoveringFromDevice && !wizardController.walletOptionsDeviceIsRestore) {
+ return false;
+ } else {
+ return (wizardController.walletOptionsRestoreHeight > 0);
+ }
+ }
}
WizardSummaryItem {