mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-19 17:40:15 +02:00
Provide useful path to FileException
This commit is contained in:
parent
ffc7452eba
commit
866edf8801
@ -301,7 +301,7 @@ XMLFileWriter::XMLFileWriter(
|
|||||||
{
|
{
|
||||||
auto tempPath = wxFileName::CreateTempFileName( outputPath );
|
auto tempPath = wxFileName::CreateTempFileName( outputPath );
|
||||||
if (!wxFFile::Open(tempPath, wxT("wb")) || !IsOpened())
|
if (!wxFFile::Open(tempPath, wxT("wb")) || !IsOpened())
|
||||||
ThrowException( tempPath, mCaption );
|
ThrowException( outputPath, mCaption );
|
||||||
|
|
||||||
if (mKeepBackup) {
|
if (mKeepBackup) {
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user