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