[GRASS-SVN] r48248 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 12 08:19:12 EDT 2011


Author: annakrat
Date: 2011-09-12 05:19:12 -0700 (Mon, 12 Sep 2011)
New Revision: 48248

Modified:
   grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py
Log:
wx.psmap: fix error when setting color of vector points

Modified: grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py	2011-09-12 12:00:38 UTC (rev 48247)
+++ grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py	2011-09-12 12:19:12 UTC (rev 48248)
@@ -3122,7 +3122,7 @@
         if self.vPropertiesDict['color'] != 'none':
             self.colorPicker.SetColour(convertRGB(self.vPropertiesDict['color'])) 
         else:
-            self.colorPicker.SetColour('black')
+            self.colorPicker.SetColour(convertRGB('black'))
 
         
         
@@ -3157,7 +3157,7 @@
         if self.vPropertiesDict['fcolor'] != 'none':
             self.fillColorPicker.SetColour(convertRGB(self.vPropertiesDict['fcolor'])) 
         else:
-            self.fillColorPicker.SetColour('red')
+            self.fillColorPicker.SetColour(convertRGB('red'))
 
         
         



More information about the grass-commit mailing list