Browse Source

Fixed: TextFile's not reloading when changed from external editors

KurtBliss 1 year ago
parent
commit
bb98843b61
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scene/resources/text_file.h

+ 3 - 0
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;