1
0
Fork 0

Remove upper-casing of route-manager input

upper_case_property causes valueChanged to fire twice, since
SGPropertyNode string storage is now immutable (std::string). This
caused double-processing of for example adding a waypoint in
the route-manager dialog. Since the InputListener already upper-cases
the string, we can simply remove the upper-case property logic.
This commit is contained in:
James Turner 2022-05-25 10:43:08 +01:00
parent 5051d90487
commit 7d78c40086

View file

@ -690,7 +690,6 @@ int fgMainInit( int argc, char **argv )
upper_case_property("/sim/presets/airport-id");
upper_case_property("/sim/presets/runway");
upper_case_property("/sim/tower/airport-id");
upper_case_property("/autopilot/route-manager/input");
if (showLauncher) {
// to minimise strange interactions when launcher and config files