1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:08:13 +00:00

TextEditorWidget: Added improved save feature.

Instead of saving to a temp file, the TextEditorWidget now saves
to a path returned by the improved GFilePicker.
This commit is contained in:
rhin123 2019-07-13 19:58:04 -05:00 committed by Andreas Kling
parent 954a0b8efe
commit 82d9410226
4 changed files with 115 additions and 17 deletions

View file

@ -15,6 +15,6 @@ public:
void open_sesame(const String& path);
private:
GTextEditor* m_editor{ nullptr };
String m_path = "/tmp/TextEditor.save.txt";
};
GTextEditor* m_editor { nullptr };
String m_path;
};