diff options
author | KurtBliss <kurtbliss3@gmail.com> | 2023-09-03 21:06:24 -0400 |
---|---|---|
committer | KurtBliss <kurtbliss3@gmail.com> | 2023-09-06 17:34:36 -0400 |
commit | bb98843b612d6044901c0131fa43476ef2298d8f (patch) | |
tree | 06b16fe809dd46714720fbf8416f9154a108d2ea | |
parent | 75de1ca76871fdf7f5a9e081aa57ec0e33061107 (diff) | |
download | redot-engine-bb98843b612d6044901c0131fa43476ef2298d8f.tar.gz |
Fixed: TextFile's not reloading when changed from external editors
-rw-r--r-- | scene/resources/text_file.h | 3 |
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; |