summaryrefslogtreecommitdiff
path: root/Userland/Applications/TextEditor/MainWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/TextEditor/MainWidget.h')
-rw-r--r--Userland/Applications/TextEditor/MainWidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/TextEditor/MainWidget.h b/Userland/Applications/TextEditor/MainWidget.h
index a565c759d9..b6bbe1afc8 100644
--- a/Userland/Applications/TextEditor/MainWidget.h
+++ b/Userland/Applications/TextEditor/MainWidget.h
@@ -25,6 +25,7 @@ class MainWidget final : public GUI::Widget {
public:
virtual ~MainWidget() override;
bool read_file_and_close(int fd, String const& path);
+ void open_nonexistent_file(String const& path);
bool request_close();
GUI::TextEditor& editor() { return *m_editor; }