Commit f9b48b67 authored by Mike Kremer's avatar Mike Kremer

Replaced == by & for extensions filter.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7901 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5685414c
......@@ -145,13 +145,13 @@ void LoadWidget::slotSetSaveFilters(DataType _type){
QStringList allFilters;
for (int i=0; i < (int)supportedTypes_.size(); i++)
if (supportedTypes_[i].type == _type){
if (supportedTypes_[i].type & _type){
QStringList filters = supportedTypes_[i].saveFilters.split(";;");
for (int f=filters.size()-1; f >= 0; f--){
if (filters[f].trimmed() == "") { filters.removeAt(f); continue; }
if (filters[f].contains( tr("All files") ) ) filters.removeAt(f);
}
allFilters.append( filters );
}
......
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