From def9e110b763d8c0c5c58ce428461e02bbc87f36 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 13 May 2017 08:57:58 +1000 Subject: 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 --- libs/ardour/session_state.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index b7fac84ffe..a908502bd0 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -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); -- cgit v1.2.3