Skip to content

Commit

Permalink
Fix a crash when confirming config dialog of a locator filter
Browse files Browse the repository at this point in the history
The locator was getting invalidated, but there was no feedback object associated for cancellation.
  • Loading branch information
wonder-sk committed May 21, 2017
1 parent 401c463 commit 551a907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/locator/qgslocator.cpp
Expand Up @@ -140,7 +140,8 @@ void QgsLocator::cancel()

void QgsLocator::cancelWithoutBlocking()
{
mFeedback->cancel();
if ( mFeedback )
mFeedback->cancel();
}

bool QgsLocator::isRunning() const
Expand Down

0 comments on commit 551a907

Please sign in to comment.