diff --git a/scene/resources/text_file.h b/scene/resources/text_file.h index f8dfd1a4c28..739ee083ced 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;