Browse Source

Merge pull request #52245 from AndreaCatania/AndreaCatania-patch-4

EditorPropertyText, pass changing variable false.
Juan Linietsky 4 năm trước cách đây
mục cha
commit
503244d452
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      editor/editor_properties.cpp

+ 2 - 2
editor/editor_properties.cpp

@@ -68,9 +68,9 @@ void EditorPropertyText::_text_changed(const String &p_string) {
 	}
 
 	if (string_name) {
-		emit_changed(get_edited_property(), StringName(p_string), "", true);
+		emit_changed(get_edited_property(), StringName(p_string));
 	} else {
-		emit_changed(get_edited_property(), p_string, "", true);
+		emit_changed(get_edited_property(), p_string);
 	}
 }