Commit 9c364565 authored by Kliment Yanev's avatar Kliment Yanev

Populate port dialog by default

parent 8af0ab8f
...@@ -382,7 +382,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole): ...@@ -382,7 +382,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
uts.Add(self.rescanbtn,wx.TOP|wx.LEFT,5) uts.Add(self.rescanbtn,wx.TOP|wx.LEFT,5)
self.serialport = wx.ComboBox(self.panel, -1, self.serialport = wx.ComboBox(self.panel, -1,
choices=[], choices=self.scanserial(),
style=wx.CB_DROPDOWN|wx.CB_READONLY, pos=(50,0)) style=wx.CB_DROPDOWN|wx.CB_READONLY, pos=(50,0))
self.rescanports() self.rescanports()
uts.Add(self.serialport) uts.Add(self.serialport)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment