fix initial(equal to the min) number of sequences in SFC Divergence dialog.
authorSergey Surkov <surkovsv93@gmail.com>
Thu, 01 Dec 2016 16:52:28 +0300
changeset 1585 60c0db313ec9
parent 1584 431f4ef34bde
child 1586 e17406dd4f06
fix initial(equal to the min) number of sequences in SFC Divergence dialog.
dialogs/SFCDivergenceDialog.py
--- a/dialogs/SFCDivergenceDialog.py	Thu Dec 01 16:40:49 2016 +0300
+++ b/dialogs/SFCDivergenceDialog.py	Thu Dec 01 16:52:28 2016 +0300
@@ -90,7 +90,7 @@
         self.LeftGridSizer.AddWindow(sequences_label, flag=wx.GROW)
         
         # Create spin control for defining number of divergence sequences
-        self.Sequences = wx.SpinCtrl(self, min=2, max=20)
+        self.Sequences = wx.SpinCtrl(self, min=2, max=20, initial=2)
         self.Bind(wx.EVT_SPINCTRL, self.OnSequencesChanged, self.Sequences)
         self.LeftGridSizer.AddWindow(self.Sequences, flag=wx.GROW)