Save last used input to the config file when loading noisetorch

pull/71/head
Nicu Reut 3 years ago
parent a9dd38d850
commit bf22d0540e

@ -202,6 +202,8 @@ func updatefn(ctx *ntcontext, w *nucular.Window) {
time.Sleep(time.Millisecond * 500)
}
}
ctx.config.LastUsedInput = &inp.ID
go writeConfig(ctx.config)
ctx.loadingScreen = false
(*ctx.masterWindow).Changed()
}()

Loading…
Cancel
Save