Browse Source

wxGUI/gmodeler: fix preferences dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49465 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
b38749f64a
2 changed files with 2 additions and 1 deletions
  1. 1 0
      gui/wxpython/gmodeler/frame.py
  2. 1 1
      gui/wxpython/gmodeler/preferences.py

+ 1 - 0
gui/wxpython/gmodeler/frame.py

@@ -53,6 +53,7 @@ from gui_core.menu        import Menu
 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 *

+ 1 - 1
gui/wxpython/gmodeler/preferences.py

@@ -65,7 +65,7 @@ class PreferencesDialog(PreferencesBaseDialog):
         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))