Skip to content

Commit

Permalink
Prevent crash on feature reset in gps tracker
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12979 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 27, 2010
1 parent 2fcf8a2 commit c35aa56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -526,6 +526,7 @@ void QgsGPSInformationWidget::on_mBtnResetFeature_clicked( )
if ( mpRubberBand )
{
delete mpRubberBand;
mpRubberBand = 0;
}
createRubberBand( );
mCaptureList.clear();
Expand Down

0 comments on commit c35aa56

Please sign in to comment.