We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent f4f5d1e commit fe6f99aCopy full SHA for fe6f99a
src/core/locator/qgslocatormodelbridge.cpp
@@ -41,7 +41,8 @@ void QgsLocatorModelBridge::triggerResult( const QModelIndex &index )
41
{
42
mLocator->clearPreviousResults();
43
QgsLocatorResult result = mProxyModel->data( index, QgsLocatorModel::ResultDataRole ).value< QgsLocatorResult >();
44
- result.filter->triggerResult( result );
+ if ( result.filter )
45
+ result.filter->triggerResult( result );
46
}
47
48
void QgsLocatorModelBridge::setIsRunning( bool isRunning )
0 commit comments