Commit 208cdfca authored by Mike Kremer's avatar Mike Kremer

Replaced check for complete suffix by check for suffix when opening recent files from files menu.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9884 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3af33784
......@@ -254,7 +254,7 @@ int Core::loadObject( DataType _type, QString _filename) {
QString filters = supportedTypes_[i].plugin->getLoadFilters();
//check extension
if ( ! filters.contains( "*." + fi.completeSuffix() ) )
if ( ! filters.contains( "*." + fi.suffix() ) )
continue;
......
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