mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +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());
|
tree.set_root (&get_state());
|
||||||
|
|
||||||
if (snapshot_name.empty()) {
|
if (snapshot_name.empty()) {
|
||||||
|
|
@ -827,8 +829,6 @@ Session::save_state (string snapshot_name, bool pending, bool switch_to_snapshot
|
||||||
|
|
||||||
if (!pending) {
|
if (!pending) {
|
||||||
|
|
||||||
SaveSession (); /* EMIT SIGNAL */
|
|
||||||
|
|
||||||
save_history (snapshot_name);
|
save_history (snapshot_name);
|
||||||
|
|
||||||
bool was_dirty = dirty();
|
bool was_dirty = dirty();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue