13
0

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
This commit is contained in:
Carl Hetherington 2012-06-13 21:32:48 +00:00
parent a0cb61d411
commit 1c2951e0ea

View File

@ -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));
}