[QGIS-trac] [Quantum GIS] #2492: Legend fails to update when layer visibility is changed during QgsMapCanvas::setLayerSet

Quantum GIS qgis at qgis.org
Sat Mar 6 13:11:23 EST 2010


#2492: Legend fails to update when layer visibility is changed during
QgsMapCanvas::setLayerSet
------------------------------------------------+---------------------------
   Reporter:  audun                             |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.5.0
  Component:  Map Legend                        |            Version:  HEAD         
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 This is a problem when writing plugins that toggle the visibility of
 layers for workflow or other purposes.

 If visibility is changed using the legend afterwards, the visibilities are
 reverted to reflect the state in the legend.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2492>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list