diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml
index 98f46709..8792cb9c 100644
--- a/wizard/WizardDaemonSettings.qml
+++ b/wizard/WizardDaemonSettings.qml
@@ -82,11 +82,20 @@ ColumnLayout {
Layout.fillWidth: true
readOnly: true
- labelText: qsTr("Blockchain location (optional)") + translationManager.emptyString
+ labelText: {
+ const label = qsTr("Blockchain location (optional)");
+ if (persistentSettings.blockchainDataDir) {
+ const style = "";
+ return label + style + " (%1)".arg(qsTr("Reset")) + translationManager.emptyString;
+ } else {
+ return label + translationManager.emptyString;
+ }
+ }
labelFontSize: 14
placeholderText: qsTr("Default") + translationManager.emptyString
placeholderFontSize: 15
text: persistentSettings.blockchainDataDir
+ onLabelLinkActivated: persistentSettings.blockchainDataDir = ""
MoneroComponents.InlineButton {
small: true