mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 23:00:08 +00:00
Emit row-changed notification
Emit row-changed when the filteredness of a visible row changes in GtkFileSystemModel.
This commit is contained in:
parent
7bfcb065df
commit
46c1ea98d2
@ -313,7 +313,12 @@ node_set_visible_and_filtered_out (GtkFileSystemModel *model, guint id, gboolean
|
||||
|
||||
/* Filteredness */
|
||||
|
||||
node->filtered_out = filtered_out;
|
||||
if (node->filtered_out != filtered_out)
|
||||
{
|
||||
node->filtered_out = filtered_out;
|
||||
if (node->visible && visible)
|
||||
emit_row_changed_for_node (model, id);
|
||||
}
|
||||
|
||||
/* Visibility */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user