Skip to content

Commit

Permalink
Merge pull request #1561 from DelazJ/ProjSelector
Browse files Browse the repository at this point in the history
Activate the help button in select projection Dialog
  • Loading branch information
timlinux committed Aug 25, 2014
2 parents 7b84ccc + 6cd8e4f commit 88b13e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/gui/qgsgenericprojectionselector.sip
Expand Up @@ -31,6 +31,8 @@ class QgsGenericProjectionSelector : QDialog //, private Ui::QgsGenericProjectio
void setSelectedCrsId( long theID );
void setSelectedAuthId( QString authId );

void on_buttonBox_helpRequested();

/**
* \brief filters this dialog by the given CRSs
*
Expand Down
4 changes: 4 additions & 0 deletions src/gui/qgsgenericprojectionselector.h
Expand Up @@ -22,6 +22,8 @@

#include <QSet>

#include "qgscontexthelp.h"

/**
* \ingroup gui
* A generic dialog to prompt the user for a Coordinate Reference System.
Expand Down Expand Up @@ -67,6 +69,8 @@ class GUI_EXPORT QgsGenericProjectionSelector : public QDialog, private Ui::QgsG
void setSelectedCrsId( long theID );
void setSelectedAuthId( QString authId );

void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }

/**
* \brief filters this dialog by the given CRSs
*
Expand Down

0 comments on commit 88b13e8

Please sign in to comment.