[GRASS-SVN] r47213 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 21 15:47:51 EDT 2011


Author: cmbarton
Date: 2011-07-21 12:47:51 -0700 (Thu, 21 Jul 2011)
New Revision: 47213

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
Log:
Fixed bug that prevents legend dialog from opening in psmap gui.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py	2011-07-21 19:01:22 UTC (rev 47212)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/psmap_dialogs.py	2011-07-21 19:47:51 UTC (rev 47213)
@@ -3960,7 +3960,7 @@
         self.borderCheck = wx.CheckBox(panel, id = wx.ID_ANY, label = _("draw border around legend"))
         self.borderColorCtrl = wx.ColourPickerCtrl(panel, id = wx.ID_ANY, style = wx.FNTP_FONTDESC_AS_LABEL)
         if self.vLegendDict['border'] == 'none':
-            self.borderColorCtrl.SetColour('black')
+            self.borderColorCtrl.SetColour(wx.BLACK)
             self.borderCheck.SetValue(False)
         else:
             self.borderColorCtrl.SetColour(convertRGB(self.vLegendDict['border']))



More information about the grass-commit mailing list