forked from Public/monero-gui
WizardSummary: always show restore height when restoring from seed/keys/device
This commit is contained in:
@@ -67,13 +67,7 @@ ColumnLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
header: qsTr("Restore height") + translationManager.emptyString
|
header: qsTr("Restore height") + translationManager.emptyString
|
||||||
value: wizardController.walletOptionsRestoreHeight
|
value: wizardController.walletOptionsRestoreHeight
|
||||||
visible: {
|
visible: wizardStateView.state === "wizardRestoreWallet4" || wizardController.walletOptionsIsRecoveringFromDevice
|
||||||
if (walletOptionsIsRecoveringFromDevice && !wizardController.walletOptionsDeviceIsRestore) {
|
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
return (wizardController.walletOptionsRestoreHeight > 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WizardSummaryItem {
|
WizardSummaryItem {
|
||||||
|
|||||||
Reference in New Issue
Block a user