mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 18:28:10 +00:00
Spreadsheet: Prompt user before closing with unsaved changes
This commit is contained in:
parent
23febb9d8e
commit
5f58fe1643
6 changed files with 44 additions and 1 deletions
|
@ -183,6 +183,7 @@ Result<bool, String> Workbook::save(const StringView& filename)
|
|||
}
|
||||
|
||||
set_filename(filename);
|
||||
set_dirty(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue