mirror of https://github.com/godotengine/godot
Fixed: TextFile's not reloading when changed from external editors
This commit is contained in:
parent
75de1ca768
commit
bb98843b61
|
|
@ -41,6 +41,9 @@ private:
|
||||||
String text;
|
String text;
|
||||||
String path;
|
String path;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual bool editor_can_reload_from_file() override { return false; }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
virtual bool has_text() const;
|
virtual bool has_text() const;
|
||||||
virtual String get_text() const;
|
virtual String get_text() const;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue