[QGIS-trac] Re: [Quantum GIS] #3713: Memory layer's fields not shown in attribute table (and layer properties) unless refreshed by entering the edit mode

Quantum GIS qgis at qgis.org
Sat Apr 9 08:50:45 EDT 2011


#3713: Memory layer's fields not shown in attribute table (and layer properties)
unless refreshed by entering the edit mode
-----------------------------------------------------+----------------------
        Reporter:  borysiasty                        |         Owner:               
            Type:  bug                               |        Status:  closed       
        Priority:  major: does not work as expected  |     Milestone:  Version 1.7.0
       Component:  Vectors                           |       Version:  Trunk        
      Resolution:  invalid                           |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  Yes                               |   Status_info:  0            
-----------------------------------------------------+----------------------

Comment(by borysiasty):

 Yes, but most plugins used to be compatible with older versions.

 Btw. a few paragraphs later you give an example that will be affected
 after adding to the QgsMapLayerRegistry ("The following example code
 illustrates creating and populating a memory provider"). I'd suggest
 readers to do vl.startEditing()in advance to avoid a later confusion.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3713#comment:4>
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