From 4a718fe19ffb39fd37a1275d86fdde12a1095906 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 14 Apr 2007 20:09:56 +0000 Subject: [PATCH] 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 --- libs/ardour/session.cc | 3 +++ 1 file changed, 3 insertions(+) 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; }