Fixed connection button spamming

pull/21/head
obscuren 11 years ago
parent 3a35d45ea8
commit 560a7073f4
  1. 4
      ui/ui_lib.go

@ -27,9 +27,11 @@ func (ui *UiLib) Open(path string) {
}()
}
func (ui *UiLib) Connect() {
func (ui *UiLib) Connect(button qml.Object) {
if !ui.connected {
ui.eth.Start()
ui.connected = true
button.Set("enabled", false)
}
}

Loading…
Cancel
Save