소스 검색

Set tooltip to an empty string when clearing

Format


Remove string conversion
Joe Morton 6 년 전
부모
커밋
c017f3405e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      editor/editor_properties.cpp

+ 1 - 0
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"));