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

Spreadsheet: Prompt user before closing with unsaved changes

This commit is contained in:
Xavier Cooney 2020-12-22 16:15:15 +11:00 committed by Andreas Kling
parent 23febb9d8e
commit 5f58fe1643
6 changed files with 44 additions and 1 deletions

View file

@ -41,6 +41,7 @@ public:
void save(const StringView& filename);
void load(const StringView& filename);
bool request_close();
void add_sheet();
void add_sheet(NonnullRefPtr<Sheet>&&);