summaryrefslogtreecommitdiffstats
path: root/scene/resources/text_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/text_file.h')
-rw-r--r--scene/resources/text_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/text_file.h b/scene/resources/text_file.h
index f8dfd1a4c2..739ee083ce 100644
--- a/scene/resources/text_file.h
+++ b/scene/resources/text_file.h
@@ -41,6 +41,9 @@ private:
String text;
String path;
+protected:
+ virtual bool editor_can_reload_from_file() override { return false; }
+
public:
virtual bool has_text() const;
virtual String get_text() const;