소스 검색

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 17 년 전
부모
커밋
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)
         
-        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)