Make discovery process more clear

pull/17/head
Micke Nordin 4 years ago
parent 7c5b0a46d4
commit 229bce2f88
Signed by: micke
GPG Key ID: 014B273D614BE877

@ -62,7 +62,7 @@ class Hui(wx.Frame):
self.Bind(wx.EVT_BUTTON, self.Bind(wx.EVT_BUTTON,
lambda event, mbridge=bridge: self.goto_bridge(mbridge), btn) lambda event, mbridge=bridge: self.goto_bridge(mbridge), btn)
else: else:
btn: wx.Button = wx.Button(self.pnl, label="Discover bridges") btn: wx.Button = wx.Button(self.pnl, label="Press Hue Bridge button, and then press here")
self.sizer.Add(btn, 0, wx.EXPAND) self.sizer.Add(btn, 0, wx.EXPAND)
self.Bind(wx.EVT_BUTTON, self.Bind(wx.EVT_BUTTON,
lambda event: self.discover_new_bridges(), btn) lambda event: self.discover_new_bridges(), btn)

Loading…
Cancel
Save