mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 18:16:35 +01:00
This creates an export direcory for new sessions. The export dialog will also default to that directory
git-svn-id: svn://localhost/ardour2/trunk@1466 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e72e12d4ba
commit
1cf6978cad
4 changed files with 21 additions and 2 deletions
|
|
@ -947,12 +947,12 @@ ExportDialog::start_export ()
|
|||
}
|
||||
|
||||
/* If the filename hasn't been set before, use the
|
||||
directory above the current session as a default
|
||||
current session's export directory as a default
|
||||
location for the export.
|
||||
*/
|
||||
|
||||
if (file_entry.get_text().length() == 0) {
|
||||
string dir = session->path();
|
||||
string dir = session->export_dir();
|
||||
string::size_type last_slash;
|
||||
|
||||
if ((last_slash = dir.find_last_of ('/')) != string::npos && last_slash != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue