X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=dialog.py;h=a1a250baccfee84758f3ecd5329cc5c12efdaa92;hp=0711708262b52d541b92fce79b7c483289b57ea9;hb=342d693d835ba1077fe0f31824664a807cafa3bb;hpb=1fbb2fcb56ff6f0e0a0fa67daf55dadced5d0341 diff --git a/dialog.py b/dialog.py index 0711708..a1a250b 100755 --- a/dialog.py +++ b/dialog.py @@ -1721,7 +1721,7 @@ class OptLexi(wx.Dialog): self.choice_indice = wx.Choice(self, -1, (100,50), choices = indices) if not self.force_chi : self.label = wx.StaticText(self, -1, u"effectif minimum") - self.spin = wx.SpinCtrl(self, -1, min = 1, max = 10000) + self.spin = wx.SpinCtrl(self, -1, min = 1, max = 10000, initial = 10) self.Bind(wx.EVT_CHOICE, self.onselect, self.choice) self.__set_properties() self.__do_layout() @@ -1733,6 +1733,7 @@ class OptLexi(wx.Dialog): if not self.force_chi : self.spin.SetValue(10) self.choice.SetSelection(0) + self.choice_indice.SetSelection(0) #self.SetMinSize(wx.Size(300, 400)) # end wxGlade