Feature: make NewGRF active list react on key presses #9011
Motivation / Problem
Currently all key presses (up, down, home, end, page up, page down) in the NewGRF window are assumed to be used to move up or down the list of available NewGRFs. Even if the list of active NewGRFs has focus.
This code change lets the user move up and down the list of active NewGRFs using the keys mentioned above, same as with the available ones.
I've made sure that when reaching the last one the scrollbar goes one extra position down to keep having room for dragging stuff there.
Please make a deployment and give it a try.
Clicking somewhere else like in the background of the window makes the list lose focus so the next keystokes will be processed by the available list.
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.
The text was updated successfully, but these errors were encountered: