Don't show project settings starting with underscore

This commit is contained in:
kobewi 2024-09-18 15:16:42 +02:00
parent 84dcdde908
commit 8ab9205617
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ void ProjectSettingsEditor::shortcut_input(const Ref<InputEvent> &p_event) {
String ProjectSettingsEditor::_get_setting_name() const {
String name = property_box->get_text().strip_edges();
if (!name.contains("/")) {
if (!name.begins_with("_") && !name.contains("/")) {
name = "global/" + name;
}
return name;