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:
parent
954a0b8efe
commit
82d9410226
4 changed files with 115 additions and 17 deletions
|
@ -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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue