Skip to content
Permalink
Browse files

add 3Di support introduced in mdal 0.0.7

  • Loading branch information
PeterPetrik authored and nyalldawson committed Sep 10, 2018
1 parent 4b7da69 commit 0fb56ac48143f17d2a05d8ef60049646044bee09
Showing with 3 additions and 2 deletions.
  1. +2 −1 src/providers/mdal/qgsmdaldataitems.cpp
  2. +1 −1 src/providers/mdal/qgsmdalsourceselect.cpp
@@ -70,7 +70,8 @@ QGISEXTERN QgsDataItem *dataItem( QString path, QgsDataItem *parentItem )
<< QStringLiteral( "bin" )
<< QStringLiteral( "grib" )
<< QStringLiteral( "grib1" )
<< QStringLiteral( "grib2" );
<< QStringLiteral( "grib2" )
<< QStringLiteral( "nc" );
}

// Filter files by extension
@@ -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)" ) );
mFileWidget->setFilter( QStringLiteral( "All files(*.*);;GRIB File(*.grb *.grb2 *.bin *.grib *.grib1 *.grib2);;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 0fb56ac

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