Commit 56ca47c5 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix-fileload-plugin-selection' into 'master'

Fix bug in File loader plugin selection.

See merge request !126
parents a9209798 b3173058
......@@ -212,7 +212,7 @@ void LoadWidget::loadFile(){
for ( int filterId = 0 ; filterId < separateFilters.size(); ++filterId ) {
if (separateFilters[filterId].endsWith(ext[i],Qt::CaseInsensitive)){
if (separateFilters[filterId].endsWith("*." + ext[i],Qt::CaseInsensitive)){
pluginForExtension_[ ext[i] ] = t;
found = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment