0ad/source/tools
Ralph Sennhauser 3c8b7dfa7a
Fix Enter key behaviour on Windows
Commit fe192fe58f made it possible for
events to properly propagate to the top window. As on Windows Enter is
also used for navigation, i.e. used to trigger the dialogs default action,
which in our case seems to be quit.

Tell the wxSpinCtrl to fire wxEVT_TEXT_ENTER instead and handle it.

The wxCommandEvent wxEVT_TEXT_ENTER doesn't carry the value, so need to
use dynamic event binding (which is preferred way anyway).

Also show the numPlayerSpinner as a spinner instead of a text field to
match visuals to actual behaviour.

Fixes: #9026
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2026-07-18 11:24:36 +02:00
..
atlas Fix Enter key behaviour on Windows 2026-07-18 11:24:36 +02:00
cmpgraph Add executable bits for files with shebangs 2024-08-26 07:46:38 +02:00
dist Fix NSIS auto-uninstall 2025-12-28 16:26:41 +01:00
entdocs Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
entgraph Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
entity Handle module attributes in checkrefs 2026-04-20 21:09:25 +02:00
errorlist Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
featuretest Add C++ feature test pipeline 2025-11-12 18:28:59 +01:00
i18n Enable a few more ruff rules 2025-03-03 14:18:40 +01:00
lint Move Script* classes to Script namespace 2026-06-20 17:43:00 +02:00
mapcompatibility Fix variable naming for map compatibility file 2024-09-13 11:04:05 +02:00
openlogsfolder Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
profiler2 Use @stylistic/brace-style for eslint 2026-01-12 21:33:52 +01:00
replayprofile Use @stylistic/brace-style for eslint 2026-01-12 21:33:52 +01:00
rlclient/python Fix eslint rule 'prefer-const' 2025-05-12 18:44:28 +02:00
spirv Adds a script to modify rules and tests to it. 2025-10-08 13:56:48 +02:00
springimport Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
templatesanalyzer Persians -> Achaemenids 2026-05-02 02:50:39 +02:00
templatessorter templatessorter.sh: move to posix shell 2024-08-29 12:55:26 +02:00
tracelogger Fix issues pointed out by shellcheck 2024-08-28 18:23:18 +02:00
webservices Fix trailing whitespace and add pre-commit hook 2025-06-15 20:08:48 +02:00
LICENSE.txt Add AppImage support 2025-10-05 20:35:43 +02:00
utils.sh Add util.sh shell library 2025-03-30 18:05:56 +02:00