projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8630fd1
)
fix prev commit SaveSession() signal was sent too late.
author
Robin Gareus
<robin@gareus.org>
Mon, 8 Apr 2013 18:52:33 +0000
(20:52 +0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 8 Apr 2013 18:52:33 +0000
(20:52 +0200)
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index 4ce39340a337a195ea21bcd4c8db26b1fc41d5b7..9a82192175ae4e64f19f493dcd1c109d68527094 100644
(file)
--- 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()) {
@@
-827,8
+829,6
@@
Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot
if (!pending) {
- SaveSession (); /* EMIT SIGNAL */
-
save_history (snapshot_name);
bool was_dirty = dirty();