[GRASS-SVN] r59057 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 15 08:51:43 PST 2014


Author: martinl
Date: 2014-02-15 08:51:42 -0800 (Sat, 15 Feb 2014)
New Revision: 59057

Modified:
   grass/trunk/gui/wxpython/modules/colorrules.py
Log:
wxGUI: update (d.vect's -a flag removed)


Modified: grass/trunk/gui/wxpython/modules/colorrules.py
===================================================================
--- grass/trunk/gui/wxpython/modules/colorrules.py	2014-02-15 16:48:17 UTC (rev 59056)
+++ grass/trunk/gui/wxpython/modules/colorrules.py	2014-02-15 16:51:42 UTC (rev 59057)
@@ -1579,7 +1579,6 @@
                    'type=point,line,boundary,area']
                 
         if self.attributeType == 'color':
-            cmdlist.append('flags=a')
             cmdlist.append('rgb_column=%s' % self.properties['tmpColumn'])
         elif self.attributeType == 'size':
             cmdlist.append('size_column=%s' % self.properties['tmpColumn'])
@@ -1607,11 +1606,8 @@
             
             if self.attributeType == 'color':
                 if useAttrColumn:
-                    cmdlist[1].update({'flags': 'a'})
                     cmdlist[1].update({'rgb_column': self.properties['storeColumn']})
                 else:
-                    if 'flags' in cmdlist[1]:
-                        cmdlist[1]['flags'] = cmdlist[1]['flags'].replace('a', '')
                     cmdlist[1].pop('rgb_column', None)
             elif self.attributeType == 'size':
                 cmdlist[1].update({'size_column': self.properties['storeColumn']})



More information about the grass-commit mailing list