diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-09 14:25:02 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-09 14:25:02 -0400 |
commit | 6592c8696ad5e8b479c3997639e7b54981ec06af (patch) | |
tree | 21b14ad96ecce8742969cbd2c0efb1c5ccc62aba /libs | |
parent | 722d7f4de6b9c664b7bb9331e67a9f4869f4f9af (diff) | |
parent | 082de27a4e4b192e541c95cb90b97be67d5ed2d0 (diff) |
Merge branch 'master' of git.ardour.org:ardour/ardour
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/session.h | 1 | ||||
-rw-r--r-- | libs/ardour/session_state.cc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 525faa4e13..a149224607 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -397,6 +397,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi PBD::Signal1<void,std::string> StateSaved; PBD::Signal0<void> StateReady; + PBD::Signal0<void> SaveSession; std::vector<std::string*>* possible_states() const; static std::vector<std::string*>* possible_states (std::string path); diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index a713375755..9a82192175 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -772,6 +772,8 @@ Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot } } + SaveSession (); /* EMIT SIGNAL */ + tree.set_root (&get_state()); if (snapshot_name.empty()) { |