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

Fix scenario listbox up and down arrows not working #221

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

jonko0493
Copy link
Member

@jonko0493 jonko0493 commented Jun 19, 2023

Fixes #217.

Turns out that removing all the items from the listbox can cause it to lose focus on WPF, which makes the whole "set the selected index" rigamarole pointless. If we call Focus at the end of the set, the arrow keys work.

@jonko0493 jonko0493 requested a review from WiIIiam278 June 19, 2023 14:50
@jonko0493 jonko0493 self-assigned this Jun 19, 2023
@jonko0493 jonko0493 merged commit 0e82a97 into haroohie-club:main Jun 19, 2023
@jonko0493 jonko0493 deleted the Fixup217 branch June 19, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scenario editor listbox can't take up and down arrows to scroll
2 participants