Skip to content

Commit

Permalink
fallback to "All Files" filter if mesh driver does not provide file
Browse files Browse the repository at this point in the history
suffix metadata (refs #45257)
  • Loading branch information
alexbruy authored and nyalldawson committed Jan 5, 2022
1 parent 51a1287 commit ca7b800
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/mesh/qgsmeshcalculatordialog.cpp
Expand Up @@ -372,6 +372,10 @@ void QgsMeshCalculatorDialog::onOutputFormatChange()
filter.append( QStringLiteral( " (*.%1)" ).arg( suffix ) );
mOutputDatasetFileWidget->setFilter( filter );
}
else
{
mOutputDatasetFileWidget->setFilter( tr( "All Files (*)" ) );
}
}

QString QgsMeshCalculatorDialog::datasetGroupName( const QModelIndex &index ) const
Expand Down

0 comments on commit ca7b800

Please sign in to comment.