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