summaryrefslogtreecommitdiff
path: root/gtk2_ardour/sfdb_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-23 11:28:45 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-23 11:29:10 -0400
commitd5209cb4bfb1a3ee41ffb45ec0ead71a540f19d1 (patch)
tree432f2c0749b8bd93aafdce0ac7c197c88536b851 /gtk2_ardour/sfdb_ui.cc
parent8013160eb369ae8a97392284602e41cc77617b79 (diff)
fix #5609 (import with 1 track per channel mis-associates tracks + channels)
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track are also named differently, and thus reloaded properly when the session is reloaded.
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r--gtk2_ardour/sfdb_ui.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc
index e8db9d4939..986ed7f985 100644
--- a/gtk2_ardour/sfdb_ui.cc
+++ b/gtk2_ardour/sfdb_ui.cc
@@ -342,7 +342,8 @@ SoundFileBox::audition ()
try {
afs = boost::dynamic_pointer_cast<AudioFileSource> (
SourceFactory::createExternal (DataType::AUDIO, *_session,
- path, n, Source::Flag (0), false));
+ path, n,
+ Source::Flag (0), false));
srclist.push_back(afs);