Fix #39: Checking of pure library entry in cell selector was broken
This commit is contained in:
parent
1ca04aaa71
commit
17bdf9402b
@ -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