summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDualMatrix <piet.goris@gmail.com>2018-08-18 20:23:54 +0200
committerDualMatrix <piet.goris@gmail.com>2018-08-18 20:23:54 +0200
commit8ad251b331fdc6b7e02c7be7ba8a3eabcf479bbf (patch)
tree3973c59a4b6fb6566bc1c99acf2de08d6d177212
parentc93888ae71bcc2b633f335b407c75412a493012d (diff)
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
-rw-r--r--editor/editor_properties.cpp7
1 files changed, 3 insertions, 4 deletions
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() {