From 407d3c60bcc33e2a96e2d25f6772deefbfff9c58 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 d45481931f..b791e43f20 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -4342,5 +4342,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; }