From 8ad251b331fdc6b7e02c7be7ba8a3eabcf479bbf Mon Sep 17 00:00:00 2001 From: DualMatrix Date: Sat, 18 Aug 2018 20:23:54 +0200 Subject: Fixed text entry is going in reverse Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061 --- editor/editor_properties.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'editor') diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 0cbd5f0bff..68d1d689e0 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -61,7 +61,7 @@ void EditorPropertyText::_text_changed(const String &p_string) { if (updating) return; - emit_signal("property_changed", get_edited_property(), p_string); + emit_signal("property_changed", get_edited_property(), p_string, true); } void EditorPropertyText::update_property() { @@ -92,12 +92,11 @@ EditorPropertyText::EditorPropertyText() { void EditorPropertyMultilineText::_big_text_changed() { text->set_text(big_text->get_text()); - emit_signal("property_changed", get_edited_property(), big_text->get_text()); + emit_signal("property_changed", get_edited_property(), big_text->get_text(), true); } void EditorPropertyMultilineText::_text_changed() { - - emit_signal("property_changed", get_edited_property(), text->get_text()); + emit_signal("property_changed", get_edited_property(), text->get_text(), true); } void EditorPropertyMultilineText::_open_big_text() { -- cgit v1.2.3