Skip to content

Commit 88b13e8

Browse files
committed
Merge pull request #1561 from DelazJ/ProjSelector
Activate the help button in select projection Dialog
2 parents 7b84ccc + 6cd8e4f commit 88b13e8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/gui/qgsgenericprojectionselector.sip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
3131
void setSelectedCrsId( long theID );
3232
void setSelectedAuthId( QString authId );
3333

34+
void on_buttonBox_helpRequested();
35+
3436
/**
3537
* \brief filters this dialog by the given CRSs
3638
*

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)