mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
This fixes #7946 Previously, TextEditor::write_to_file() would not mark its document as unmodified if the file size was 0. This caused a desync in the Text Editor app between the window's is_modified state and the TextEditor's. It's already noted in the comments of the app's save action code that propagating the modified state automatically would be good, and it would solve issues like this, but I'm not yet familiar enough with the code to try a change like that.
64 KiB
64 KiB