Sam Atkins
6f92d1e639
LibGUI: Set TextEditor to unmodified after saving size=0 files
...
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.
2021-06-09 18:53:13 +02:00
..
2021-06-06 00:27:30 +04:30
2021-05-20 20:55:29 +02:00
2021-06-03 00:33:26 +01:00
2021-06-03 00:33:26 +01:00
2021-05-04 14:38:43 +02:00
2021-05-03 21:03:13 +02:00
2021-06-08 00:10:54 +04:30
2021-05-14 11:37:24 +02:00
2021-06-03 08:32:31 +01:00
2021-06-03 08:32:31 +01:00
2021-05-21 18:41:28 +01:00
2021-05-15 20:36:41 +02:00
2021-06-02 22:50:51 +01:00
2021-06-01 08:28:27 +02:00
2021-05-22 15:52:11 +02:00
2021-05-29 15:50:04 +02:00
2021-05-20 20:55:29 +02:00
2021-05-16 01:11:56 +02:00
2021-05-21 10:30:52 +01:00
2021-05-21 10:30:52 +01:00
2021-05-23 09:53:55 +02:00
2021-05-10 19:09:53 +01:00
2021-05-22 18:54:22 +02:00
2021-06-08 19:14:24 +02:00
2021-06-08 19:14:24 +02:00
2021-05-21 10:30:52 +01:00
2021-06-03 08:24:18 +02:00
2021-05-08 22:17:51 +02:00
2021-05-12 11:00:45 +01:00
2021-05-03 21:14:40 +02:00
2021-06-03 08:23:45 +02:00
2021-05-03 21:14:40 +02:00
2021-05-03 21:14:40 +02:00
2021-06-03 13:31:46 +02:00
2021-05-02 10:43:39 +02:00
2021-06-03 17:43:20 +01:00
2021-06-06 00:27:30 +04:30
2021-05-20 20:55:29 +02:00
2021-06-01 09:28:05 +02:00
2021-05-12 22:38:20 +02:00
2021-05-26 17:39:13 +04:30
2021-05-06 08:50:39 +02:00
2021-06-05 00:32:28 +04:30
2021-06-05 00:32:28 +04:30
2021-06-07 14:45:49 +04:30
2021-06-07 14:45:49 +04:30
2021-05-29 13:31:41 +04:30
2021-05-29 13:31:41 +04:30
2021-06-03 08:32:31 +01:00
2021-05-14 18:37:08 +02:00
2021-06-05 00:32:28 +04:30
2021-06-05 00:32:28 +04:30
2021-06-07 14:45:49 +04:30
2021-06-07 14:45:49 +04:30
2021-05-12 11:00:45 +01:00
2021-05-02 22:48:06 +02:00
2021-05-03 21:03:13 +02:00
2021-05-17 13:33:41 +02:00
2021-05-17 13:33:41 +02:00
2021-05-03 21:56:13 +02:00
2021-05-08 22:17:51 +02:00
2021-06-01 08:22:51 +02:00
2021-06-01 08:22:51 +02:00
2021-05-23 09:53:55 +02:00
2021-05-03 16:37:05 +02:00
2021-05-07 21:12:09 +02:00
2021-05-16 21:14:04 +02:00
2021-05-21 10:30:52 +01:00
2021-05-23 11:10:15 +02:00
2021-05-08 09:55:24 +02:00
2021-05-05 22:17:33 +02:00
2021-05-21 10:30:52 +01:00
2021-05-03 22:21:21 +01:00
2021-06-08 00:10:54 +04:30
2021-06-08 19:14:24 +02:00
2021-05-26 22:17:47 +02:00
2021-05-06 12:08:00 +02:00
2021-05-05 21:38:45 +02:00
2021-05-02 22:48:06 +02:00
2021-06-06 11:25:59 +02:00
2021-06-07 14:45:49 +04:30
2021-06-09 18:53:13 +02:00
2021-06-02 18:08:56 +02:00
2021-05-16 01:11:56 +02:00
2021-05-16 01:11:56 +02:00
2021-06-05 11:27:05 +02:00
2021-05-08 22:17:51 +02:00
2021-05-08 22:17:51 +02:00
2021-05-28 16:37:25 +01:00
2021-05-28 16:37:25 +01:00
2021-06-01 10:01:11 +02:00
2021-06-08 19:14:24 +02:00
2021-06-08 19:14:24 +02:00
2021-06-08 19:14:24 +02:00
2021-06-08 19:14:24 +02:00
2021-05-23 09:53:55 +02:00
2021-05-23 09:53:55 +02:00
2021-05-23 09:53:55 +02:00
2021-05-23 09:53:55 +02:00