Caoimhe
d05cb50b24
LibGUI: Only clear TreeView::m_view_metadata when required
...
Prior to this commit, we were always clearing the TreeView's metadata,
even if it wasn't needed. Now, we only clear it if the callee says that
we should invalidate indices.
This fixes an issue in FileManager (#6903 ), where updating the file
system by creating/deleting any file/folder would cause the tree to
collapse completely.
This may be more of a 'patch' than an actual fix, since I don't have a
lot of experience with `GUI::TreeView` or `GUI::Model`, but it doesn't
appear to break any other `TreeView` use-cases and using FileManager is
now much better than it was before :^)
2023-05-02 07:24:55 +02:00
..
2023-03-15 14:55:49 +01:00
2023-04-30 05:48:14 +02:00
2023-04-30 05:48:14 +02:00
2023-02-07 10:43:15 +00:00
2023-03-03 15:23:47 +01:00
2023-03-16 09:58:42 +01:00
2023-02-19 01:09:09 +01:00
2023-01-08 23:01:16 +01:00
2022-12-30 17:16:29 +01:00
2023-04-14 12:05:52 +01:00
2023-01-27 20:33:18 +00:00
2023-02-10 05:12:06 +03:30
2023-03-04 00:29:38 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-04-04 19:15:15 +02:00
2023-02-21 00:54:04 +01:00
2022-12-28 22:32:21 -05:00
2023-02-21 00:54:04 +01:00
2023-03-16 00:02:08 +01:00
2023-03-05 20:21:57 +01:00
2023-04-30 05:49:46 +02:00
2023-04-25 14:48:40 +02:00
2023-04-30 05:49:46 +02:00
2023-02-18 16:56:56 +00:00
2023-02-18 16:56:56 +00:00
2023-02-19 01:09:09 +01:00
2023-02-19 01:09:09 +01:00
2023-04-15 15:24:50 +02:00
2023-04-15 15:24:50 +02:00
2023-03-04 00:29:38 +01:00
2023-02-13 00:45:09 +00:00
2023-04-15 15:24:50 +02:00
2023-03-03 15:38:59 +01:00
2023-02-19 01:35:29 +01:00
2023-02-13 00:45:09 +00:00
2023-03-21 19:03:21 +00:00
2023-03-16 09:58:42 +01:00
2023-04-30 05:48:14 +02:00
2022-12-30 17:16:29 +01:00
2022-12-30 17:16:29 +01:00
2023-04-30 05:49:46 +02:00
2023-04-30 05:49:46 +02:00
2023-03-03 15:23:47 +01:00
2023-03-21 19:03:21 +00:00
2023-01-09 09:45:26 +01:00
2023-04-19 07:59:54 +02:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-03-21 10:06:41 +01:00
2023-03-21 10:06:41 +01:00
2023-02-08 18:50:43 +00:00
2023-03-06 23:46:35 +01:00
2023-03-05 20:21:57 +01:00
2023-04-30 05:49:46 +02:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-03-24 10:58:43 +00:00
2023-03-24 10:58:43 +00:00
2023-04-30 05:48:14 +02:00
2023-02-25 20:51:49 +01:00
2023-02-02 04:05:42 -07:00
2023-04-17 10:34:20 +02:00
2023-04-17 10:34:20 +02:00
2023-05-01 11:10:56 +02:00
2023-02-07 17:01:55 +01:00
2023-02-21 00:54:04 +01:00
2023-02-19 01:09:09 +01:00
2023-04-30 05:49:46 +02:00
2023-04-30 05:49:46 +02:00
2023-03-15 14:55:49 +01:00
2023-03-04 00:29:38 +01:00
2022-12-26 09:27:19 +01:00
2023-04-30 05:49:46 +02:00
2023-04-15 15:24:50 +02:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-04-15 15:24:50 +02:00
2023-02-02 13:15:03 +01:00
2023-04-30 05:49:46 +02:00
2023-03-21 22:39:25 +01:00
2023-04-30 05:48:14 +02:00
2023-01-11 10:24:51 +01:00
2023-01-11 10:24:51 +01:00
2023-03-15 14:55:49 +01:00
2023-04-30 05:48:14 +02:00
2023-04-18 10:05:21 +02:00
2023-04-28 05:55:20 +02:00
2023-04-24 09:21:51 +02:00
2023-04-30 05:49:46 +02:00
2023-04-30 05:48:14 +02:00
2023-04-24 09:21:51 +02:00
2023-02-18 16:56:56 +00:00
2023-04-30 05:48:14 +02:00
2023-04-30 05:48:14 +02:00
2023-04-04 19:15:15 +02:00
2023-04-04 19:15:15 +02:00
2023-04-19 07:59:54 +02:00
2023-04-19 07:59:54 +02:00
2023-04-19 07:59:54 +02:00
2023-04-19 07:59:54 +02:00
2023-04-19 07:59:54 +02:00
2023-03-26 21:55:21 +01:00
2023-04-30 05:48:14 +02:00
2023-04-15 15:24:50 +02:00
2023-03-09 15:51:00 +00:00
2023-02-10 05:12:06 +03:30
2023-04-30 05:49:46 +02:00
2023-04-09 22:00:54 +02:00
2023-01-26 20:24:37 +00:00
2023-01-27 20:33:18 +00:00
2023-03-15 07:52:08 +00:00
2023-02-21 00:54:04 +01:00
2023-04-30 05:49:46 +02:00
2023-01-01 09:38:07 +00:00
2023-04-30 05:48:14 +02:00
2023-04-30 05:48:14 +02:00
2023-03-24 10:58:43 +00:00
2023-02-19 01:09:09 +01:00
2023-03-24 22:06:38 +00:00
2023-03-24 22:06:38 +00:00
2023-02-25 20:51:49 +01:00
2023-02-25 20:51:49 +01:00
2023-03-16 09:58:42 +01:00
2023-02-17 16:25:57 +00:00
2023-04-15 15:24:50 +02:00
2023-03-03 15:23:47 +01:00
2023-03-06 23:46:35 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-02-21 00:54:04 +01:00
2023-04-04 19:15:15 +02:00
2022-12-26 09:27:19 +01:00
2023-03-01 10:55:20 +01:00
2023-03-01 10:55:20 +01:00
2023-02-25 20:51:49 +01:00
2023-03-16 09:58:42 +01:00
2023-04-30 05:49:46 +02:00
2023-02-17 16:25:57 +00:00
2023-04-03 19:58:47 -06:00
2023-04-18 10:05:21 +02:00
2023-04-18 10:05:21 +02:00
2023-04-30 05:49:46 +02:00
2023-04-30 05:49:46 +02:00
2023-04-30 05:49:46 +02:00
2023-03-16 09:58:42 +01:00
2023-04-18 10:05:21 +02:00
2023-02-16 10:47:22 +00:00
2023-03-15 14:55:49 +01:00
2023-03-06 23:46:35 +01:00
2023-04-18 10:05:21 +02:00
2023-04-30 06:08:22 +02:00
2023-04-09 22:00:54 +02:00
2023-02-28 13:23:55 +01:00
2023-03-06 23:46:35 +01:00
2023-03-06 23:46:35 +01:00
2023-04-30 05:49:46 +02:00
2023-03-04 00:29:38 +01:00
2023-02-21 00:54:04 +01:00
2023-05-02 07:24:55 +02:00
2023-02-02 13:15:03 +01:00
2023-03-16 08:05:58 +01:00
2023-03-06 23:46:35 +01:00
2023-01-26 09:57:14 -05:00
2023-03-06 23:46:35 +01:00
2023-03-06 23:46:35 +01:00
2023-04-30 05:49:46 +02:00
2023-02-17 16:25:57 +00:00
2023-02-13 00:50:07 +00:00
2023-02-21 00:54:04 +01:00
2023-04-09 22:00:54 +02:00
2023-01-27 20:33:18 +00:00
2023-04-30 14:01:59 +02:00
2023-03-16 09:58:42 +01:00
2023-04-30 14:01:59 +02:00
2023-04-30 14:01:59 +02:00