Skip to content

Commit 8ab9205

Browse files
committed
Don't show project settings starting with underscore
1 parent 84dcdde commit 8ab9205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/project_settings_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void ProjectSettingsEditor::shortcut_input(const Ref<InputEvent> &p_event) {
267267

268268
String ProjectSettingsEditor::_get_setting_name() const {
269269
String name = property_box->get_text().strip_edges();
270-
if (!name.contains("/")) {
270+
if (!name.begins_with("_") && !name.contains("/")) {
271271
name = "global/" + name;
272272
}
273273
return name;

0 commit comments

Comments
 (0)