mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Add fix for case, when user set directory by keyboard manually.
This commit is contained in:
@@ -418,6 +418,11 @@ bool DirectoriesPrefs::Validate()
|
||||
}
|
||||
else {
|
||||
/* If the directory already exists, make sure it is writable */
|
||||
if (!FileNames::WritableLocationCheck(mTempText->GetValue()) ||
|
||||
!FileNames::WritableLocationCheck(mMacrosText->GetValue()))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
wxLogNull logNo;
|
||||
Temp.AppendDir(wxT("canicreate"));
|
||||
path = Temp.GetPath();
|
||||
|
||||
Reference in New Issue
Block a user