[GRASS-SVN] r47215 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 21 15:52:56 EDT 2011
Author: cmbarton
Date: 2011-07-21 12:52:56 -0700 (Thu, 21 Jul 2011)
New Revision: 47215
Modified:
grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py
Log:
Fixed bug that prevents legend dialog from opening in psmap gui.
Modified: grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py 2011-07-21 19:51:34 UTC (rev 47214)
+++ grass/trunk/gui/wxpython/gui_modules/psmap_dialogs.py 2011-07-21 19:52:56 UTC (rev 47215)
@@ -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