Skip to content

Commit

Permalink
Fix #19703, make filter translatable and add NetCDF (#8245)
Browse files Browse the repository at this point in the history
* Add NetCDF into MDAL dialog's file filter
  • Loading branch information
rduivenvoorde authored and PeterPetrik committed Oct 22, 2018
1 parent 1bf63f1 commit 4fa62e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/mdal/qgsmdalsourceselect.cpp
Expand Up @@ -28,7 +28,7 @@ QgsMdalSourceSelect::QgsMdalSourceSelect( QWidget *parent, Qt::WindowFlags fl, Q
setupButtons( buttonBox );

mFileWidget->setDialogTitle( tr( "Open MDAL Supported Mesh Dataset(s)" ) );
mFileWidget->setFilter( QStringLiteral( "All files(*.*);;GRIB File(*.grb *.grb2 *.bin *.grib *.grib1 *.grib2);;2DM Mesh File(*.2dm);;3Di Results(results_3di.nc)" ) );
mFileWidget->setFilter( tr( "All Files (*);;GRIB File (*.grb *.grb2 *.bin *.grib *.grib1 *.grib2);;NetCDF File (*.nc);;2DM Mesh File (*.2dm);;3Di Results (results_3di.nc)" ) );
mFileWidget->setStorageMode( QgsFileWidget::GetMultipleFiles );
connect( mFileWidget, &QgsFileWidget::fileChanged, this, [ = ]( const QString & path )
{
Expand Down

0 comments on commit 4fa62e9

Please sign in to comment.