Merge pull request #90 from canadaduane/sortorder

Remove alphabetic sort order of baud rate combobox
master
kliment 2011-11-12 09:02:33 -08:00
commit 5cd0e23eb0
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
uts.Add(wx.StaticText(self.panel,-1,"@",pos=(250,5)),wx.RIGHT,5)
self.baud = wx.ComboBox(self.panel, -1,
choices=["2400", "9600", "19200", "38400", "57600", "115200", "250000"],
style=wx.CB_DROPDOWN|wx.CB_SORT|wx.CB_READONLY, size=(110,30),pos=(275,0))
style=wx.CB_DROPDOWN|wx.CB_READONLY, size=(110,30),pos=(275,0))
try:
self.baud.SetValue("115200")
self.baud.SetValue(str(self.settings.baudrate))