Skip to content
Permalink
Browse files

Show validation message only in case of errors

  • Loading branch information
mhugent committed Sep 16, 2015
1 parent a62c6a9 commit c54ea43c361f3c3362cc5e56b7080ed86466a310
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsmaptoolcapture.cpp
@@ -88,9 +88,9 @@ void QgsMapToolCapture::validationFinished()
emit messageDiscarded();
QString msgFinished = tr( "Validation finished" );
if ( mValidationWarnings.count() )
{
emit messageEmitted( mValidationWarnings.join( "\n" ).append( "\n" ).append( msgFinished ), QgsMessageBar::WARNING );
else
emit messageEmitted( msgFinished );
}
}

void QgsMapToolCapture::currentLayerChanged( QgsMapLayer *layer )

0 comments on commit c54ea43

Please sign in to comment.
You can’t perform that action at this time.