diff options
| author | plowsof <plowsof@protonmail.com> | 2026-06-25 13:14:09 +0100 |
|---|---|---|
| committer | plowsof <plowsof@protonmail.com> | 2026-06-25 17:03:55 +0100 |
| commit | 123433dd2caf7f5899c760e172dffb68df3375a7 (patch) | |
| tree | 28a269cb1d999e21142348aa9ec036a1720fbe96 /wizard | |
| parent | 0e78e60cd799aaa207125c0c51278f0d481e9dea (diff) | |
| download | monzero-gui-123433dd2caf7f5899c760e172dffb68df3375a7.tar.gz monzero-gui-123433dd2caf7f5899c760e172dffb68df3375a7.tar.xz monzero-gui-123433dd2caf7f5899c760e172dffb68df3375a7.zip | |
wizard: check wallet file directory is writeable
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardWalletInput.qml | 4 |
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; } |
