ソースを参照

wxGUI/forms: do not create help flag checkbox

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58793 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 年 前
コミット
0d52ef502a
1 ファイル変更3 行追加0 行削除
  1. 3 0
      gui/wxpython/gui_core/forms.py

+ 3 - 0
gui/wxpython/gui_core/forms.py

@@ -860,6 +860,9 @@ class CmdPanel(wx.Panel):
         #
         visible_flags = [ f for f in self.task.flags if not f.get('hidden', False) == True ]
         for f in visible_flags:
+            # we don't want another help (checkbox appeared in r58783)
+            if f['name'] == 'help':
+                continue
             which_sizer = tabsizer[ f['guisection'] ]
             which_panel = tab[ f['guisection'] ]
             # if label is given: description -> tooltip