mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-02 15:13:50 +01:00
Remove call to OnZoomFit after recovery, so that zoom and selection are restored as well. I think when AutoRecovery was written, zoom and selection were not stored in the aup files, so this was a default.
This commit is contained in:
@@ -210,9 +210,6 @@ static bool RecoverAllProjects(AudacityProject** pproj)
|
|||||||
// the opened auto-save file is automatically deleted and a new one
|
// the opened auto-save file is automatically deleted and a new one
|
||||||
// is created.
|
// is created.
|
||||||
proj->OpenFile(files[i], false);
|
proj->OpenFile(files[i], false);
|
||||||
|
|
||||||
//fit project after recovery
|
|
||||||
proj->OnZoomFit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user