mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix a crash in filtered legends
This commit is contained in:
parent
b4b7017068
commit
87e11cb2d7
@ -82,12 +82,14 @@ void QgsMapHitTest::runHitTestLayer( QgsVectorLayer* vl, SymbolV2Set& usedSymbol
|
||||
{
|
||||
Q_FOREACH ( QgsSymbolV2* s, r->originalSymbolsForFeature( f, context ) )
|
||||
{
|
||||
if ( s )
|
||||
usedSymbols.insert( QgsSymbolLayerV2Utils::symbolProperties( s ) );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
QgsSymbolV2* s = r->originalSymbolForFeature( f, context );
|
||||
if ( s )
|
||||
usedSymbols.insert( QgsSymbolLayerV2Utils::symbolProperties( s ) );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user