Opened 14 years ago
Closed 14 years ago
#2543 closed bug (fixed)
Qgis crashes in QgsMapCanvas::setLayerSet
Reported by: | audun | Owned by: | mhugent |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.5.0 |
Component: | MapCanvas | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
To reproduce:
- Paste the following code into the python console.
from qgis.utils import iface from qgis.gui import QgsMapCanvasLayer from ftools_utils import getMapLayerByName iface.mapCanvas().setLayerSet([]) iface.mapCanvas().setLayerSet([QgsMapCanvasLayer(getMapLayerByName("non-existent layer"))])
- Behold your desktop background image
Attachments (1)
Change History (2)
by , 14 years ago
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
fixed in r13047.