summaryrefslogtreecommitdiff
path: root/editor/editor_properties.h
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2020-11-24 10:12:55 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2020-12-02 16:09:11 +0100
commite1811b689b6854668ca690831df8603820b68573 (patch)
treeb13641bf9a704ec71f8ac90f3dd8d41a1174ae04 /editor/editor_properties.h
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r--editor/editor_properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h
index 828b639527..63dee9f6d6 100644
--- a/editor/editor_properties.h
+++ b/editor/editor_properties.h
@@ -41,7 +41,7 @@
class EditorPropertyNil : public EditorProperty {
GDCLASS(EditorPropertyNil, EditorProperty);
- LineEdit *text;
+ LineEdit *text = nullptr;
public:
virtual void update_property() override;