Merge pull request #32586 from jmorton06/master

Set tooltip to an empty string after removing texture/material
This commit is contained in:
Rémi Verschelde 2019-10-06 20:39:10 +02:00 committed by GitHub
commit 430181e6db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2649,6 +2649,7 @@ void EditorPropertyResource::update_property() {
if (res == RES()) {
assign->set_icon(Ref<Texture>());
assign->set_text(TTR("[empty]"));
assign->set_tooltip("");
} else {
assign->set_icon(EditorNode::get_singleton()->get_object_icon(res.operator->(), "Node"));