Fix #39: Checking of pure library entry in cell selector was broken
This commit is contained in:
parent
f6abfada2c
commit
b0c9afdae5
@ -187,7 +187,8 @@ static gboolean cell_store_filter_visible_func(GtkTreeModel *model, GtkTreeIter
|
|||||||
|
|
||||||
gtk_tree_model_get(model, iter, CELL_SEL_CELL, &cell, CELL_SEL_LIBRARY, &lib, -1);
|
gtk_tree_model_get(model, iter, CELL_SEL_CELL, &cell, CELL_SEL_LIBRARY, &lib, -1);
|
||||||
|
|
||||||
if (lib) {
|
/* Show always, if this is a pure lib entry */
|
||||||
|
if (lib && !cell) {
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
goto exit_filter;
|
goto exit_filter;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user