Amebis / eduVPN

Windows eduVPN Client
GNU General Public License v3.0
41 stars 16 forks source link

Allow keyboard selection of ListBoxItem #243

Closed sklemer1 closed 5 months ago

sklemer1 commented 5 months ago

At the momen it is not possible to select a ListBoxItem with return or space which prohibits usage of eduVPN without a pointing device. This is some sort of quick and somehow ugly fix.

rozmansi commented 5 months ago

Ahhh, I see. Thanks for contributing this.

I was always using Up and Down keys to make a selection. Then hit Enter to confirm. Should one just use TAB to focus a freshly populated list box the Space/Enter doesn't work until you move the selection Up/Down a bit.

Confirming your PR actually solves this issue.