Skip to content

Commit

Permalink
Really fix snapping indexing crash
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 14, 2015
1 parent 0b02912 commit 2acf7a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/qgsmapcanvassnappingutils.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2acf7a8

Please sign in to comment.