Browse Source

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 years ago
parent
commit
c95ede2584
1 changed files with 2 additions and 2 deletions
  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)
         
-        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()      
         else:
             dlg = rules.RulesText(self, cmd=command)