diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-05 17:00:14 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-05 17:00:14 +0200 |
commit | 51b2e305c4cbaae6f2f7c81317e6637ae27979bb (patch) | |
tree | fb7b468587212842eb205e0169a06fc4a7119770 /libs/ardour/session_state.cc | |
parent | 4949f9a0b3f64a7a37fb6f45aa1cc5ade8542d0a (diff) |
Skip duplicate early session-save for new sessions
Identical code is called unconditionally at the end of
the Session c'tor via Session::session_loaded()
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r-- | libs/ardour/session_state.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 02021dd31b..5bf6f92438 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -413,14 +413,6 @@ Session::post_engine_init () DirtyChanged (); /* EMIT SIGNAL */ - if (_is_new) { - save_state (""); - } else if (state_was_pending) { - save_state (""); - remove_pending_capture_state (); - state_was_pending = false; - } - /* Now, finally, we can fill the playback buffers */ BootMessage (_("Filling playback buffers")); |