diff options
author | Joe Morton <jmorton06@live.co.uk> | 2019-10-06 17:29:11 +0100 |
---|---|---|
committer | Joe Morton <jmorton06@live.co.uk> | 2019-10-06 17:29:11 +0100 |
commit | c017f3405e56299cfc6ba195eaeccbacece4aaed (patch) | |
tree | 34af6568dd8953deba479e6fbfa40f96ed0b9965 /editor/editor_properties.cpp | |
parent | 1d9233c3882afe888b9396f7f2aac917d4dcac4d (diff) |
Set tooltip to an empty string when clearing
Format
Remove string conversion
Diffstat (limited to 'editor/editor_properties.cpp')
-rw-r--r-- | editor/editor_properties.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 690b7a8ec4..460f75eef0 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -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")); |