aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardWalletInput.qml
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-06-25 16:55:48 +0000
committertobtoht <tob@featherwallet.org>2026-06-25 16:55:48 +0000
commitfa7722c48bc02561c6760d199239e1aff09fed7a (patch)
tree28a269cb1d999e21142348aa9ec036a1720fbe96 /wizard/WizardWalletInput.qml
parent0e78e60cd799aaa207125c0c51278f0d481e9dea (diff)
parent123433dd2caf7f5899c760e172dffb68df3375a7 (diff)
downloadmonzero-gui-fa7722c48bc02561c6760d199239e1aff09fed7a.tar.gz
monzero-gui-fa7722c48bc02561c6760d199239e1aff09fed7a.tar.xz
monzero-gui-fa7722c48bc02561c6760d199239e1aff09fed7a.zip
Merge pull request #4617
123433d wizard: check wallet file directory is writeable (plowsof) ACKs: selsta
Diffstat (limited to 'wizard/WizardWalletInput.qml')
-rw-r--r--wizard/WizardWalletInput.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml
index 882145ab..2c12d5c3 100644
--- a/wizard/WizardWalletInput.qml
+++ b/wizard/WizardWalletInput.qml
@@ -154,6 +154,10 @@ GridLayout {
errorMessageWalletLocation.text = qsTr("Wallet location is empty") + translationManager.emptyString;
return false;
}
+ if (!oshelper.isWritableDirectory(walletLocation.text)) {
+ errorMessageWalletLocation.text = qsTr("Wallet location does not exist or is not writable") + translationManager.emptyString;
+ return false;
+ }
errorMessageWalletLocation.text = "";
return true;
}