From 6c9259ff2f25942d443cff70750fe48daf0f7b7a Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 22 Mar 2021 13:57:56 +0100 Subject: [PATCH] Fix feature tag casing in the Windows pen tablet project setting name Feature tags are case-sensitive. --- doc/classes/ProjectSettings.xml | 2 +- main/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index d7ccb03d0447..5b9150ab04c7 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -734,7 +734,7 @@ Specifies the tablet driver to use. If left empty, the default driver will be used. - + Override for [member input_devices/pen_tablet/driver] on Windows. diff --git a/main/main.cpp b/main/main.cpp index 951fce35baa0..aa925c508cc4 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1551,8 +1551,8 @@ Error Main::setup2(Thread::ID p_main_tid_override) { { GLOBAL_DEF_RST_NOVAL("input_devices/pen_tablet/driver", ""); - GLOBAL_DEF_RST_NOVAL("input_devices/pen_tablet/driver.windows", ""); - ProjectSettings::get_singleton()->set_custom_property_info("input_devices/pen_tablet/driver.windows", PropertyInfo(Variant::STRING, "input_devices/pen_tablet/driver.windows", PROPERTY_HINT_ENUM, "wintab,winink")); + GLOBAL_DEF_RST_NOVAL("input_devices/pen_tablet/driver.Windows", ""); + ProjectSettings::get_singleton()->set_custom_property_info("input_devices/pen_tablet/driver.Windows", PropertyInfo(Variant::STRING, "input_devices/pen_tablet/driver.Windows", PROPERTY_HINT_ENUM, "wintab,winink")); } if (tablet_driver == "") { // specified in project.godot