Skip to content
Permalink
Browse files

Fix #19703, make filter translatable and add NetCDF (#8245)

* Add NetCDF into MDAL dialog's file filter
  • Loading branch information
rduivenvoorde authored and PeterPetrik committed Oct 22, 2018
1 parent 1bf63f1 commit 4fa62e9b3bbe6383db2b682e89003a0a85428bad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/mdal/qgsmdalsourceselect.cpp
@@ -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 )
{

0 comments on commit 4fa62e9

Please sign in to comment.
You can’t perform that action at this time.