summaryrefslogtreecommitdiff
path: root/editor/editor_properties.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-05-19 16:09:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-05-19 16:10:19 -0300
commiteded06166860b3c052310cc8db28cc080655b510 (patch)
tree84a0459f5f925afe59b72f668499386db9165a7d /editor/editor_properties.h
parent228b09bafbad467389dd851699df1a327fbdea21 (diff)
Dictionary editing does the comeback to the inspector, fixes #19046
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r--editor/editor_properties.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h
index 19884cc9dc..03e72b4ec2 100644
--- a/editor/editor_properties.h
+++ b/editor/editor_properties.h
@@ -39,6 +39,15 @@
#include "editor/scene_tree_editor.h"
#include "scene/gui/color_picker.h"
+class EditorPropertyNil : public EditorProperty {
+ GDCLASS(EditorPropertyNil, EditorProperty)
+ LineEdit *text;
+
+public:
+ virtual void update_property();
+ EditorPropertyNil();
+};
+
class EditorPropertyText : public EditorProperty {
GDCLASS(EditorPropertyText, EditorProperty)
LineEdit *text;