ソースを参照

wxGUI: fix bug introduced in https://trac.osgeo.org/grass/changeset/57698

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

+ 1 - 1
gui/wxpython/gui_core/forms.py

@@ -1063,7 +1063,7 @@ class CmdPanel(wx.Panel):
                                 cb = ColorTablesComboBox(parent=which_panel, value=p.get('default',''),
                                                          size=globalvar.DIALOG_COMBOBOX_SIZE,
                                                          choices=valuelist)
-                            elif self.task.name == 'd.barscale':
+                            elif self.task.name == 'd.barscale' and p['name'] in ('style', 'north_arrow'):
                                 if p['name'] == 'style':
                                     cb = BarscalesComboBox(parent=which_panel, value=p.get('default',''),
                                                            size=globalvar.DIALOG_COMBOBOX_SIZE,