Automatic profile selection. Fixes #14.
Automatically select first added profile on every profiles list update. Yes, quick hack. In future we will autodetect profiles based on server version, and profiles combobox will only be needed for quick connect.
This commit is contained in:
parent
7e6b698c1c
commit
bfd3f884b3
@ -453,6 +453,8 @@ func (m *MainWindow) loadProfiles(data map[string]string) {
|
||||
|
||||
m.old_profiles_count = len(ctx.Cache.Profiles)
|
||||
fmt.Println("Added " + strconv.Itoa(m.old_profiles_count) + " profiles")
|
||||
|
||||
m.profiles.SetActive(0)
|
||||
}
|
||||
|
||||
func (m *MainWindow) serversUpdateCompleted(data map[string]string) {
|
||||
|
Reference in New Issue
Block a user