Skip to content
Permalink
Browse files

check filter

  • Loading branch information
3nids committed Nov 8, 2018
1 parent f4f5d1e commit fe6f99a6e0e63057125ee35f1bda6afd537947d0
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/locator/qgslocatormodelbridge.cpp
@@ -41,7 +41,8 @@ void QgsLocatorModelBridge::triggerResult( const QModelIndex &index )
{
mLocator->clearPreviousResults();
QgsLocatorResult result = mProxyModel->data( index, QgsLocatorModel::ResultDataRole ).value< QgsLocatorResult >();
result.filter->triggerResult( result );
if ( result.filter )
result.filter->triggerResult( result );
}

void QgsLocatorModelBridge::setIsRunning( bool isRunning )

0 comments on commit fe6f99a

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