diff options
author | Carl Hetherington <carl@carlh.net> | 2012-06-13 21:32:48 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-06-13 21:32:48 +0000 |
commit | 1c2951e0eaff278833c8f90bab20afb7c80175c7 (patch) | |
tree | 6597f86410a4a06ff43577441f450bb84bd48f73 /gtk2_ardour/sfdb_ui.cc | |
parent | a0cb61d4111fad95d3b29ebf6f07c3b12f084456 (diff) |
Use preview filename rather than the first-alphabetically-sorted filename for preview in the import dialogue; should fix #4921.
git-svn-id: svn://localhost/ardour2/branches/3.0@12715 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/sfdb_ui.cc')
-rw-r--r-- | gtk2_ardour/sfdb_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/sfdb_ui.cc b/gtk2_ardour/sfdb_ui.cc index 4dc919d4c5..da39d45db6 100644 --- a/gtk2_ardour/sfdb_ui.cc +++ b/gtk2_ardour/sfdb_ui.cc @@ -712,7 +712,7 @@ SoundFileBrowser::on_audio_and_midi_filter (const FileFilter::Info& filter_info) void SoundFileBrowser::update_preview () { - if (preview.setup_labels (chooser.get_filename())) { + if (preview.setup_labels (chooser.get_preview_filename())) { if (preview.autoplay()) { Glib::signal_idle().connect (sigc::mem_fun (preview, &SoundFileBox::audition_oneshot)); } |