diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 23:50:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 23:50:20 +0000 |
commit | 429ff2547b2652a86d32799fbab9b83ceaeb5cdd (patch) | |
tree | ac5405903889a3b85be11a10f8b9cba4ebdd6cbc /libs/ardour/file_source.cc | |
parent | 84ddf22169c3aee19d3420b20c0e2f1b9bbdf02f (diff) |
missing dialog cleanups and logic improvements
git-svn-id: svn://localhost/ardour2/branches/3.0@7990 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/file_source.cc')
-rw-r--r-- | libs/ardour/file_source.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/file_source.cc b/libs/ardour/file_source.cc index 264d6482b4..84d4f3043f 100644 --- a/libs/ardour/file_source.cc +++ b/libs/ardour/file_source.cc @@ -103,13 +103,13 @@ FileSource::init (const string& pathstr, bool must_exist) } } - set_within_session_from_path (pathstr); + set_within_session_from_path (_path); if (!within_session()) { - _session.ensure_search_path_includes (Glib::path_get_dirname (pathstr), _type); + _session.ensure_search_path_includes (Glib::path_get_dirname (_path), _type); } - _name = Glib::path_get_basename (pathstr); + _name = Glib::path_get_basename (_path); if (_file_is_new && must_exist) { return -1; |