summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 6a42c0e4d1..58f1d7c0a0 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -765,8 +765,11 @@ Session::load_state (string snapshot_name)
/* there is pending state from a crashed capture attempt */
if (AskAboutPendingState()) {
+ cerr << "use pending state\n";
state_was_pending = true;
- }
+ } else {
+ cerr << "do not use pending state\n";
+ }
}
if (!state_was_pending) {
@@ -1270,7 +1273,7 @@ Session::get_template()
sources in their state node.
*/
- disable_record ();
+ disable_record (false);
return state(false);
}