Skip to content

Commit

Permalink
Add slot on ContextHelp button
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Aug 25, 2014
1 parent 7b04eb4 commit 6cd8e4f
Showing 1 changed file with 4 additions and 0 deletions.
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 6cd8e4f

Please sign in to comment.