fix prev commit SaveSession() signal was sent too late.
This commit is contained in:
parent
8630fd1703
commit
d9df0ea6e5
@ -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…
Reference in New Issue
Block a user