summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_dialog.cc
diff options
context:
space:
mode:
authorDoug McLain <doug@nostar.net>2007-02-15 16:44:22 +0000
committerDoug McLain <doug@nostar.net>2007-02-15 16:44:22 +0000
commit1cf6978cadcfc9a32b3ed52914d0fc80f3359e29 (patch)
treed0334baf4d9870dadfd64c8c56d369ac5648ef2d /gtk2_ardour/export_dialog.cc
parente72e12d4bab557bbbc9d9cfa2a574ad06c3e8170 (diff)
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
Diffstat (limited to 'gtk2_ardour/export_dialog.cc')
-rw-r--r--gtk2_ardour/export_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc
index e0c11042ae..c55f4c70d6 100644
--- a/gtk2_ardour/export_dialog.cc
+++ b/gtk2_ardour/export_dialog.cc
@@ -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) {