Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set focus to mod list after loading #2657

Merged
merged 1 commit into from
Jan 14, 2019

Conversation

HebaruSan
Copy link
Member

Problem

On loading GUI, the focus is somewhere invisible (the splitter or the tab control, from some debugging). It should be on the mod list.

Cause

Not clear exactly what caused this. Possibilities:

Changes

Now we explicitly set the focus to the mod list at the end of UpdateModsList, after we switch back to that tab.
(I'd like to find a more generic fix, but none of the solutions I tried worked.)

Fixes #2651.

@HebaruSan HebaruSan added Bug Something is not working as intended GUI Issues affecting the interactive GUI Pull request labels Jan 11, 2019
@politas
Copy link
Member

politas commented Jan 14, 2019

Oh, yes! That's been so annoying! I think it's way older than either of those changes, though.

@politas politas merged commit 73c2dac into KSP-CKAN:master Jan 14, 2019
politas added a commit that referenced this pull request Jan 14, 2019
@HebaruSan HebaruSan deleted the fix/initial-focus branch January 14, 2019 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended GUI Issues affecting the interactive GUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't scroll the modlist if it's not selected on Linux
2 participants