Skip to content

Commit c35aa56

Browse files
author
timlinux
committed
Prevent crash on feature reset in gps tracker
git-svn-id: http://svn.osgeo.org/qgis/trunk@12979 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2fcf8a2 commit c35aa56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/gps/qgsgpsinformationwidget.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ void QgsGPSInformationWidget::on_mBtnResetFeature_clicked( )
526526
if ( mpRubberBand )
527527
{
528528
delete mpRubberBand;
529+
mpRubberBand = 0;
529530
}
530531
createRubberBand( );
531532
mCaptureList.clear();

0 commit comments

Comments
 (0)