소스 검색

wxGUI/colortable: fix GMessage

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47472 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 년 전
부모
커밋
7f7f567914
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gui/wxpython/gui_modules/colorrules.py

+ 1 - 1
gui/wxpython/gui_modules/colorrules.py

@@ -752,7 +752,7 @@ class ColorTable(wx.Frame):
         """
         ret = self.CreateColorTable()
         if not ret:
-            GMessage(parent = self, message = _("No color rules given."))
+            gcmd.GMessage(parent = self, message = _("No color rules given."))
             
         if not self.nviz:
             display = self.parent.GetLayerTree().GetMapDisplay()