[GRASS-SVN] r57701 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 16 05:54:54 PDT 2013


Author: annakrat
Date: 2013-09-16 05:54:54 -0700 (Mon, 16 Sep 2013)
New Revision: 57701

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI: fix bug introduced in r57698

Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2013-09-16 11:07:00 UTC (rev 57700)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2013-09-16 12:54:54 UTC (rev 57701)
@@ -1063,7 +1063,7 @@
                                 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,



More information about the grass-commit mailing list