[GRASS-SVN] r32794 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 15 16:55:48 EDT 2008


Author: martinl
Date: 2008-08-15 16:55:48 -0400 (Fri, 15 Aug 2008)
New Revision: 32794

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
cmbarton: Update for adding vector color management to new interactive color table manager (merge from devbr6, r32790)

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-08-15 20:43:15 UTC (rev 32793)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-08-15 20:55:48 UTC (rev 32794)
@@ -878,8 +878,8 @@
         """
         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)



More information about the grass-commit mailing list