瀏覽代碼

wxGUI: update (d.vect's -a flag removed)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59057 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父節點
當前提交
cfecc4b204
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      gui/wxpython/modules/colorrules.py

+ 0 - 4
gui/wxpython/modules/colorrules.py

@@ -1579,7 +1579,6 @@ class VectorColorTable(ColorTable):
                    '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 @@ class VectorColorTable(ColorTable):
             
             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']})