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
This commit is contained in:
Dave French
2015-06-12 18:21:09 +01:00
parent 90dd8b2abb
commit 0c205ba504

View File

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