summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorValeriy Kamyshniy <vkamyshniy@wavesglobal.com>2015-04-06 13:04:15 +0300
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:10 -0400
commit07c81a763ff3ce609c5918ba1b5c8b8dd48ea902 (patch)
treec237c735b46ee6c8ee2c3ec3cfddebacf7221c00 /libs
parent1f98535b5231e2ff128f08061a59ae5673f04b73 (diff)
[Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in the session recent list.
[Reviewed] YPozdnyakov
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_state.cc6
1 files changed, 6 insertions, 0 deletions
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;
}