Skip to content
Permalink
Browse files
Connect to documentation
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 19, 2021
1 parent 776592f commit 4934f7fcf9a8271c130b98fc1c4466a4d58a697c
Showing with 7 additions and 1 deletion.
  1. +6 −0 src/app/mesh/qgsnewmeshlayerdialog.cpp
  2. +1 −1 src/ui/mesh/qgsnewmeshlayerdialogbase.ui
@@ -24,6 +24,7 @@
#include "qgsproject.h"
#include "qgsmeshlayer.h"
#include "qgsapplication.h"
#include "qgshelp.h"
#include "qgsgui.h"


@@ -67,6 +68,11 @@ QgsNewMeshLayerDialog::QgsNewMeshLayerDialog( QWidget *parent, Qt::WindowFlags f
connect( mMeshFromFileWidget, &QgsFileWidget::fileChanged, this, &QgsNewMeshLayerDialog::updateDialog );
connect( mMeshProjectComboBox, &QgsMapLayerComboBox::layerChanged, this, &QgsNewMeshLayerDialog::updateDialog );

connect( buttonBox, &QDialogButtonBox::helpRequested, this, [ = ]
{
QgsHelp::openHelp( QStringLiteral( "managing_data_source/create_layers.html#creating-a-new-mesh-layer" ) );
} );

updateDialog();
}

@@ -117,7 +117,7 @@
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>

0 comments on commit 4934f7f

Please sign in to comment.