Fix a crash when confirming config dialog of a locator filter

The locator was getting invalidated, but there was no feedback object associated for cancellation.
This commit is contained in:
Martin Dobias 2017-05-21 14:36:40 +08:00
parent 401c4637d9
commit 551a907329

View File

@ -140,7 +140,8 @@ void QgsLocator::cancel()
void QgsLocator::cancelWithoutBlocking()
{
mFeedback->cancel();
if ( mFeedback )
mFeedback->cancel();
}
bool QgsLocator::isRunning() const