From 07c81a763ff3ce609c5918ba1b5c8b8dd48ea902 Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Mon, 6 Apr 2015 13:04:15 +0300 Subject: [PATCH] =?UTF-8?q?[Summary]=20BUG=20FIXED:=20New=20name=20of=20a?= =?UTF-8?q?=20session=20saved=20with=20=E2=80=9Csave=20as=E2=80=9D,=20was?= =?UTF-8?q?=20not=20stored=20in=20the=20session=20recent=20list.=20[Review?= =?UTF-8?q?ed]=20YPozdnyakov?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/ardour/session_state.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 669517bdfb..7201596f8b 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -4488,5 +4488,11 @@ Session::save_as (SaveAs& saveas) return -1; } + if (ARDOUR::Profile->get_trx()) { + // Tracks Live should store name of the "saved as" session in the + // recent session list + store_recent_sessions (_name, _path); + } + return 0; }