From 2f898446398c01aea1288929f3426189c3a8ef68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 26 Nov 2020 23:07:48 +0100 Subject: [PATCH] Fix #39: Checking of pure library entry in cell selector was broken --- gds-render-gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gds-render-gui.c b/gds-render-gui.c index a55b7e0..7802013 100644 --- a/gds-render-gui.c +++ b/gds-render-gui.c @@ -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); - if (lib) { + /* Show always, if this is a pure lib entry */ + if (lib && !cell) { result = TRUE; goto exit_filter; }