From 1c2951e0eaff278833c8f90bab20afb7c80175c7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 Jun 2012 21:32:48 +0000 Subject: [PATCH] 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 --- gtk2_ardour/sfdb_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }