Merge pull request #63411 from Calinou/improve-null-object-dictionary-print
Improve null and object printing to avoid confusion with arrays
This commit is contained in:
commit
10aec9057c
8 changed files with 13 additions and 13 deletions
|
|
@ -52,7 +52,7 @@ void EditorPropertyNil::update_property() {
|
|||
|
||||
EditorPropertyNil::EditorPropertyNil() {
|
||||
Label *label = memnew(Label);
|
||||
label->set_text("[null]");
|
||||
label->set_text("<null>");
|
||||
add_child(label);
|
||||
}
|
||||
|
||||
|
|
@ -1391,7 +1391,7 @@ void EditorPropertyObjectID::update_property() {
|
|||
edit->set_disabled(false);
|
||||
edit->set_icon(EditorNode::get_singleton()->get_class_icon(type));
|
||||
} else {
|
||||
edit->set_text(TTR("[Empty]"));
|
||||
edit->set_text(TTR("<empty>"));
|
||||
edit->set_disabled(true);
|
||||
edit->set_icon(Ref<Texture2D>());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue