projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c81a7
)
fixed previous commit from Tracks to work correctly in all cases
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 8 May 2015 16:12:08 +0000
(12:12 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:10 +0000
(14:18 -0400)
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index 7201596f8b9904d51f02e86c985ae7d6db1aef27..4810e6935bbdb5b3a822675d2d693859c24122ee 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-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;
}