[GRASS-SVN] r49465 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 1 14:17:15 EST 2011


Author: martinl
Date: 2011-12-01 11:17:15 -0800 (Thu, 01 Dec 2011)
New Revision: 49465

Modified:
   grass/trunk/gui/wxpython/gmodeler/frame.py
   grass/trunk/gui/wxpython/gmodeler/preferences.py
Log:
wxGUI/gmodeler: fix preferences dialog


Modified: grass/trunk/gui/wxpython/gmodeler/frame.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/frame.py	2011-12-01 19:12:59 UTC (rev 49464)
+++ grass/trunk/gui/wxpython/gmodeler/frame.py	2011-12-01 19:17:15 UTC (rev 49465)
@@ -53,6 +53,7 @@
 from gmodeler.menudata    import ModelerData
 from icons.icon           import Icons
 from gui_core.forms       import GUI
+from gmodeler.preferences import PreferencesDialog
 
 from gmodeler.model       import *
 from gmodeler.dialogs     import *

Modified: grass/trunk/gui/wxpython/gmodeler/preferences.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/preferences.py	2011-12-01 19:12:59 UTC (rev 49464)
+++ grass/trunk/gui/wxpython/gmodeler/preferences.py	2011-12-01 19:17:15 UTC (rev 49465)
@@ -65,7 +65,7 @@
         rColor.SetName('GetColour')
         self.winId['modeler:disabled:color'] = rColor.GetId()
         
-        gridSizer.Add(item = rCoxolor,
+        gridSizer.Add(item = rColor,
                       flag = wx.ALIGN_RIGHT |
                       wx.ALIGN_CENTER_VERTICAL,
                       pos = (row, 1))



More information about the grass-commit mailing list