Skip to content
Permalink
Browse files

Really fix snapping indexing crash

  • Loading branch information
m-kuhn committed Sep 14, 2015
1 parent 0b02912 commit 2acf7a86b992206912de0a985a6f3f677a8b8b55
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gui/qgsmapcanvassnappingutils.cpp
@@ -38,8 +38,11 @@ void QgsMapCanvasSnappingUtils::prepareIndexStarting( int count )

void QgsMapCanvasSnappingUtils::prepareIndexProgress( int index )
{
if ( !mProgress )
return;

mProgress->setValue( index );
if ( mProgress && index == mProgress->maximum() )
if ( index == mProgress->maximum() )

This comment has been minimized.

Copy link
@3nids

3nids Sep 24, 2015

Member

I am getting a crash here.
The crash occurs in QProgressialog::maximum() in return d->bar->maximum()saying d is not accessible.
Any idea???
I get this when trying to add a feature. Am I the only one???

{
delete mProgress;
mProgress = 0;

0 comments on commit 2acf7a8

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