[Summary] BUG FIXED: New name of a session saved with “save as”, was not stored in...
authorValeriy Kamyshniy <vkamyshniy@wavesglobal.com>
Mon, 6 Apr 2015 10:04:15 +0000 (13:04 +0300)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:10 +0000 (14:18 -0400)
[Reviewed] YPozdnyakov

libs/ardour/session_state.cc

index 669517bdfb3fa24b95d26de8d139209584811ad4..7201596f8b9904d51f02e86c985ae7d6db1aef27 100644 (file)
@@ -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;
 }