Skip to content

Commit 6cd8e4f

Browse files
committed
Add slot on ContextHelp button
1 parent 7b04eb4 commit 6cd8e4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gui/qgsgenericprojectionselector.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
#include <QSet>
2424

25+
#include "qgscontexthelp.h"
26+
2527
/**
2628
* \ingroup gui
2729
* A generic dialog to prompt the user for a Coordinate Reference System.
@@ -67,6 +69,8 @@ class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsG
6769
void setSelectedCrsId( long theID );
6870
void setSelectedAuthId( QString authId );
6971

72+
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
73+
7074
/**
7175
* \brief filters this dialog by the given CRSs
7276
*

0 commit comments

Comments
 (0)