浏览代码

wxGUI: set row number properly, fix https://trac.osgeo.org/grass/changeset/32536

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32540 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父节点
当前提交
3057c65f0f
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/gui_modules/preferences.py

+ 1 - 0
gui/wxpython/gui_modules/preferences.py

@@ -868,6 +868,7 @@ class PreferencesDialog(wx.Dialog):
         #
         # ask when removing map layer from layer tree
         #
+        row = 0
         askOnRemoveLayer = wx.CheckBox(parent=panel, id=wx.ID_ANY,
                                        label=_("Ask when removing map layer from layer tree"),
                                        name='IsChecked')