Skip to content

Commit

Permalink
Fix totally inaccurate message always shows at the top of CRS
Browse files Browse the repository at this point in the history
selector dialogs in totally inappropriate occasions
  • Loading branch information
nyalldawson committed Jul 8, 2019
1 parent 74897d7 commit 423fd32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsprojectionselectionwidget.cpp
Expand Up @@ -170,7 +170,8 @@ void QgsProjectionSelectionWidget::selectCrs()
{
//find out crs id of current proj4 string
QgsProjectionSelectionDialog dlg( this );
dlg.setMessage( mMessage );
if ( !mMessage.isEmpty() )
dlg.setMessage( mMessage );
dlg.setCrs( mCrs );

if ( optionVisible( QgsProjectionSelectionWidget::CrsOption::CrsNotSet ) )
Expand Down

0 comments on commit 423fd32

Please sign in to comment.