From 0c205ba5042dd50b1c8b046d47632c13a2987296 Mon Sep 17 00:00:00 2001 From: Dave French Date: Fri, 12 Jun 2015 18:21:09 +0100 Subject: [PATCH] Nolonger try to validate sf2 anf gig files Removed trying to validate non lmms files when clicked in the file browser. This had been the cause of erronus dialog box, and caused a bug, not allowing drag and drop of sf2 files. fixes #2094 --- src/gui/FileBrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/FileBrowser.cpp b/src/gui/FileBrowser.cpp index e213d801c..b50b02b2f 100644 --- a/src/gui/FileBrowser.cpp +++ b/src/gui/FileBrowser.cpp @@ -471,7 +471,7 @@ void FileBrowserTreeWidget::mousePressEvent(QMouseEvent * me ) m_previewPlayHandle = s; delete tf; } - else if( f->extension ()== "xiz" && Engine::pluginFileHandling().contains( f->extension() ) ) + else if( ( f->extension ()== "xiz" || f->extension() == "sf2" || f->extension() == "gig" ) && Engine::pluginFileHandling().contains( f->extension() ) ) { m_previewPlayHandle = new PresetPreviewPlayHandle( f->fullName(), f->handling() == FileItem::LoadByPlugin ); }