Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Connect to documentation
  • Loading branch information
DelazJ authored and nyalldawson committed Jul 19, 2021
1 parent 776592f commit 4934f7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/app/mesh/qgsnewmeshlayerdialog.cpp
Expand Up @@ -24,6 +24,7 @@
#include "qgsproject.h"
#include "qgsmeshlayer.h"
#include "qgsapplication.h"
#include "qgshelp.h"
#include "qgsgui.h"


Expand Down Expand Up @@ -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();
}

Expand Down
2 changes: 1 addition & 1 deletion src/ui/mesh/qgsnewmeshlayerdialogbase.ui
Expand Up @@ -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>
Expand Down

0 comments on commit 4934f7f

Please sign in to comment.