Crash in Scenario Editor

Hello, I discovered a bug while making a scenario in the editor. When editing the player’s resources and pressing a certain number (I pressed 9, don’t know if it applies to the other numbers as well) and keep it pressed to enter the number about 7-8 times, the game crashes without any messages.