Set tooltip to an empty string when clearing
Format Remove string conversion
This commit is contained in:
parent
1d9233c388
commit
c017f3405e
1 changed files with 1 additions and 0 deletions
|
@ -2649,6 +2649,7 @@ void EditorPropertyResource::update_property() {
|
||||||
if (res == RES()) {
|
if (res == RES()) {
|
||||||
assign->set_icon(Ref<Texture>());
|
assign->set_icon(Ref<Texture>());
|
||||||
assign->set_text(TTR("[empty]"));
|
assign->set_text(TTR("[empty]"));
|
||||||
|
assign->set_tooltip("");
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
assign->set_icon(EditorNode::get_singleton()->get_object_icon(res.operator->(), "Node"));
|
assign->set_icon(EditorNode::get_singleton()->get_object_icon(res.operator->(), "Node"));
|
||||||
|
|
Loading…
Reference in a new issue