mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix prev commit SaveSession() signal was sent too late.
This commit is contained in:
parent
8630fd1703
commit
d9df0ea6e5
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue