Merge pull request #97145 from KoBeWi/supersecretsettings
Don't show project settings starting with underscore
This commit is contained in:
commit
d427a60970
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue