diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-14 20:09:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-14 20:09:56 +0000 |
commit | 4a718fe19ffb39fd37a1275d86fdde12a1095906 (patch) | |
tree | cbd75192ce1a87f9980f1a89512e038e634d7ae9 | |
parent | 2e66450681e7c7d4e24c78453cd2323446688d62 (diff) |
save state after remove last capture, avoiding possible inconsistency between session file and disk state
git-svn-id: svn://localhost/ardour2/trunk@1721 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/session.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 8f61fc9ac1..0644a5c84b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -2757,6 +2757,9 @@ Session::remove_last_capture () } destroy_regions (r); + + save_state (_current_snapshot_name); + return 0; } |