We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be74e5 commit 0b02912Copy full SHA for 0b02912
src/gui/qgsmapcanvassnappingutils.cpp
@@ -39,7 +39,7 @@ void QgsMapCanvasSnappingUtils::prepareIndexStarting( int count )
39
void QgsMapCanvasSnappingUtils::prepareIndexProgress( int index )
40
{
41
mProgress->setValue( index );
42
- if ( index == mProgress->maximum() )
+ if ( mProgress && index == mProgress->maximum() )
43
44
delete mProgress;
45
mProgress = 0;
0 commit comments