浏览代码

cmbarton: Update for adding vector color management to new interactive color table manager (merge from devbr6, https://trac.osgeo.org/grass/changeset/32790)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32794 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父节点
当前提交
c95ede2584
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      gui/wxpython/wxgui.py

+ 2 - 2
gui/wxpython/wxgui.py

@@ -878,8 +878,8 @@ class GMFrame(wx.Frame):
         """
         """
         command = self.GetMenuCmd(event)
         command = self.GetMenuCmd(event)
         
         
-        if command[0] == 'r.colors':
-            ctable = colorrules.ColorTable(self, cmd=command)
+        if command[0] == 'r.colors' or command[0] == 'vcolors':
+            ctable = colorrules.ColorTable(self, cmd=command[0])
             ctable.Show()      
             ctable.Show()      
         else:
         else:
             dlg = rules.RulesText(self, cmd=command)
             dlg = rules.RulesText(self, cmd=command)