projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89a851
)
Update Session::writable() during Session::save_as() when switching to copy
author
Tim Mayberry
<mojofunk@gmail.com>
Fri, 12 May 2017 22:57:58 +0000
(08:57 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Fri, 12 May 2017 23:02:02 +0000
(09:02 +1000)
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
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index b7fac84ffe43bbb45679e0c8203e63ee97903573..a908502bd0d3593f95d9ef395a9cea009f34d4eb 100644
(file)
--- 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);