mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-31 17:08:45 +01:00
AUP3: Make sure original file gets closed
When doing a Save As, make sure autosave doc is removed from the original project and the original project is properly closed. (The original project does NOT get compacted.)
This commit is contained in:
@@ -179,9 +179,10 @@ public:
|
||||
private:
|
||||
// Return a database connection if successful, which caller must close
|
||||
Connection CopyTo(const FilePath &destpath,
|
||||
const TranslatableString &msg,
|
||||
bool prune = false,
|
||||
const std::shared_ptr<TrackList> &tracks = nullptr);
|
||||
const TranslatableString &msg,
|
||||
bool isTemporary,
|
||||
bool prune = false,
|
||||
const std::shared_ptr<TrackList> &tracks = nullptr);
|
||||
|
||||
void SetError(const TranslatableString & msg);
|
||||
void SetDBError(const TranslatableString & msg);
|
||||
|
||||
Reference in New Issue
Block a user