Ver código fonte

wx.psmap: fix error when setting color of vector points

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48248 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 13 anos atrás
pai
commit
6675ad7b7a
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      gui/wxpython/gui_modules/psmap_dialogs.py

+ 2 - 2
gui/wxpython/gui_modules/psmap_dialogs.py

@@ -3122,7 +3122,7 @@ class VPropertiesDialog(PsmapDialog):
         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 @@ class VPropertiesDialog(PsmapDialog):
         if self.vPropertiesDict['fcolor'] != 'none':
             self.fillColorPicker.SetColour(convertRGB(self.vPropertiesDict['fcolor'])) 
         else:
-            self.fillColorPicker.SetColour('red')
+            self.fillColorPicker.SetColour(convertRGB('red'))