Bug report #16426

Updated by Giovanni Manghi almost 7 years ago

*Steps to reproduce:*

# Open a vector layer in QGIS

# Type the following into the python console:

<pre>

iface.activeLayer().rendererV2().legendSymbolItemsV2()[0].symbol().symbolLayers()

</pre>



*Result:* Crashes with "pure virtual function call".



*Expected result:* Obviously, no crash :-)



The same happens with "symbolLayer(int layer)" etc.

Back