mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
check filter
This commit is contained in:
parent
f4f5d1ef5b
commit
fe6f99a6e0
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user