浏览代码

wxGUI/gmodeler: fix preferences dialog

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49465 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 年之前
父节点
当前提交
b38749f64a
共有 2 个文件被更改,包括 2 次插入1 次删除
  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))