2
0
mirror of https://github.com/OrbTools/OrbBind synced 2024-10-31 03:20:26 +00:00

don't set a default device

This commit is contained in:
Minizbot2012 2022-02-02 02:30:12 -05:00
parent 49421c21bf
commit 18b1bacc83
No known key found for this signature in database
GPG Key ID: 977C8ADE12361917

View File

@ -28,7 +28,7 @@ func main() {
main, setter, getter = mui.Generate(devices.DeviceTypes[dev], window, reflect.ValueOf(omap))
window.SetContent(main)
}
SetDevice("orbweaver")
for k := range devices.DeviceTypes {
devs.Items = append(devs.Items, fyne.NewMenuItem(k, func() {
SetDevice(k)