gui_numberinput_t keeps the text color inside the input between enable and disable. The text color is finally changed when the input is manipulated. This creates a strange situation where only the button changes and the text color does not change when enable/disbale is toggled, causing confusion.
https://github.com/Ranran-the-JuicyPork/simutrans-exp/commit/9ee57f10a79d96df9a5d67772642d00e94816ab1
The solution I came up with causes the text color change by auto-passing the current value again when toggling enable/disable.
Thanks in in r10798