From 123433dd2caf7f5899c760e172dffb68df3375a7 Mon Sep 17 00:00:00 2001 From: plowsof Date: Thu, 25 Jun 2026 13:14:09 +0100 Subject: wizard: check wallet file directory is writeable --- wizard/WizardWalletInput.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wizard') 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; } -- cgit v1.2.3