Explorar el Código

wxGUI/forms: layout cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54520 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 12 años
padre
commit
bea30ca8b3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/wxpython/gui_core/forms.py

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

@@ -1109,7 +1109,7 @@ class CmdPanel(wx.Panel):
                             if value:
                                 txt3.SetValue(float(value)) # parameter previously set
                             txt3.Bind(EVT_FLOATSPIN, self.OnSetValue)
-                            style = wx.BOTTOM | wx.LEFT | wx.RIGHT
+                        style = wx.BOTTOM | wx.LEFT | wx.RIGHT
                     else:
                         txt3 = wx.TextCtrl(parent = which_panel, value = p.get('default',''),
                                            validator = FloatValidator())