[GRASS-SVN] r50101 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 9 05:00:24 EST 2012
Author: lucadelu
Date: 2012-01-09 02:00:24 -0800 (Mon, 09 Jan 2012)
New Revision: 50101
Modified:
grass/trunk/gui/wxpython/gui_core/preferences.py
Log:
fix bug on font setting with wx version 2.8.11
Modified: grass/trunk/gui/wxpython/gui_core/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/preferences.py 2012-01-09 09:55:27 UTC (rev 50100)
+++ grass/trunk/gui/wxpython/gui_core/preferences.py 2012-01-09 10:00:24 UTC (rev 50101)
@@ -1336,7 +1336,7 @@
self.spin = wx.SpinCtrl(parent = panel, id = wx.ID_ANY)
if self.fontsize:
- self.spin.SetValue(self.fontsize)
+ self.spin.SetValue(int(self.fontsize))
self.spin.Bind(wx.EVT_SPINCTRL, self.OnSizeSpin)
self.spin.Bind(wx.EVT_TEXT, self.OnSizeSpin)
gridSizer.Add(item = self.spin,
More information about the grass-commit
mailing list