summaryrefslogtreecommitdiff
path: root/gtk2_ardour/new_session_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-09-03 22:46:21 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-09-03 22:46:21 +0000
commit0593717d589c01ee6537d8441001297b36604f30 (patch)
treee2b40dc905028712ca4b6c771605bfa577504c43 /gtk2_ardour/new_session_dialog.cc
parent429f302103b728b4b5e97b4dd379365e1a1987c5 (diff)
fix for NSD filename/folder extraction; import now works as well as embed does (and shares the codepath)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2365 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/new_session_dialog.cc')
-rw-r--r--gtk2_ardour/new_session_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc
index 65fdc35903..627fc566a0 100644
--- a/gtk2_ardour/new_session_dialog.cc
+++ b/gtk2_ardour/new_session_dialog.cc
@@ -507,7 +507,7 @@ std::string
NewSessionDialog::session_folder() const
{
if (m_notebook->get_current_page() == 0) {
- return Glib::filename_from_utf8(m_folder->get_current_folder());
+ return Glib::filename_from_utf8(m_folder->get_filename());
} else {
if (m_treeview->get_selection()->count_selected_rows() == 0) {