Marking nodes invisible after pulling in the root level is wrong

This commit is contained in:
Kristian Rietveld 2009-09-01 17:51:19 +02:00
parent 532eccabde
commit af73305d37

View File

@ -1284,13 +1284,6 @@ gtk_tree_model_filter_row_changed (GtkTreeModel *c_model,
gtk_tree_model_filter_build_level (filter, NULL, NULL, FALSE);
root = FILTER_LEVEL (filter->priv->root);
if (root)
{
for (i = 0; i < root->array->len; i++)
g_array_index (root->array, FilterElt, i).visible = FALSE;
root->visible_nodes = 0;
}
}
gtk_tree_model_filter_increment_stamp (filter);