diff options
| author | selsta <selsta@sent.at> | 2019-03-01 08:20:05 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-03-01 08:37:35 +0100 |
| commit | fc68567f23b2f754f3e54e73c00a6ca41558f923 (patch) | |
| tree | 4e19a04620d11b5653d06ae73c1084f1fa9127dd /wizard/WizardSummary.qml | |
| parent | f7ac041b4e21ad6c23f1d6c800b520e5f3512294 (diff) | |
| download | monzero-gui-fc68567f23b2f754f3e54e73c00a6ca41558f923.tar.gz monzero-gui-fc68567f23b2f754f3e54e73c00a6ca41558f923.tar.xz monzero-gui-fc68567f23b2f754f3e54e73c00a6ca41558f923.zip | |
wizard: improve restore from device ui/ux
Diffstat (limited to 'wizard/WizardSummary.qml')
| -rw-r--r-- | wizard/WizardSummary.qml | 8 |
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 { |
