mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
fixed previous commit from Tracks to work correctly in all cases
This commit is contained in:
parent
a9274cd3a1
commit
14393f9790
1 changed files with 2 additions and 6 deletions
|
|
@ -4409,6 +4409,8 @@ Session::save_as (SaveAs& saveas)
|
|||
}
|
||||
|
||||
saveas.final_session_folder_name = _path;
|
||||
|
||||
store_recent_sessions (_name, _path);
|
||||
|
||||
if (!saveas.switch_to) {
|
||||
|
||||
|
|
@ -4488,11 +4490,5 @@ 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue