summaryrefslogtreecommitdiff
path: root/editor/editor_properties.h
diff options
context:
space:
mode:
authoroliperraul <olivier.perrault@usherbrooke.ca>2018-07-23 20:42:31 -0400
committeroliperraul <olivier.perrault@usherbrooke.ca>2018-07-28 14:17:56 -0400
commitdc2df7a1464b8ce06662d9163c09787e010826ea (patch)
treecc20e8b665be76aba9f2ea0821904ca990b9126d /editor/editor_properties.h
parentaecc3a444b122efd1001b25893ea7622918e2e22 (diff)
Fixed a number of issues related to the Dictionary export property for the editor
* Fixed a problem when buttons were deleted on the same frame they were pressed (inside update_property) * Prevent usage of nul key for a dictionary. * Provide symetry in the interface for both the array property and dictionary property by first clicking on the field to instantiating the dictionary. Array (Nil), Array (size 0), Array (size 1) Dictionary (Nil), Array (size 0), Array (size 1) * Allow to press enter to confirm a string in line edi.
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r--editor/editor_properties.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h
index ccd73d2539..d5fac9c1a0 100644
--- a/editor/editor_properties.h
+++ b/editor/editor_properties.h
@@ -54,6 +54,7 @@ class EditorPropertyText : public EditorProperty {
bool updating;
void _text_changed(const String &p_string);
+ void _text_entered(const String &p_string);
protected:
static void _bind_methods();