Update Session::writable() during Session::save_as() when switching to copy
Loading a read only Session then making a copy with Save As and switch was not allowing new Session to be saved as writable state was not updated. Resolves: #7352
This commit is contained in:
@@ -5043,6 +5043,8 @@ Session::save_as (SaveAs& saveas)
|
||||
session_dirs.push_back (sp);
|
||||
refresh_disk_space ();
|
||||
|
||||
_writable = exists_and_writable (_path);
|
||||
|
||||
/* ensure that all existing tracks reset their current capture source paths
|
||||
*/
|
||||
reset_write_sources (true, true);
|
||||
|
||||
Reference in New Issue
Block a user