diff options
Diffstat (limited to 'plugins/gtkui/trkproperties.c')
-rw-r--r-- | plugins/gtkui/trkproperties.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/gtkui/trkproperties.c b/plugins/gtkui/trkproperties.c index 81a90ae1..5ff479ce 100644 --- a/plugins/gtkui/trkproperties.c +++ b/plugins/gtkui/trkproperties.c @@ -281,6 +281,9 @@ add_field (GtkListStore *store, const char *key, const char *title, int is_prop, void trkproperties_fill_meta (GtkListStore *store, DB_playItem_t **tracks, int numtracks) { gtk_list_store_clear (store); + if (!tracks) { + return; + } const char **keys = NULL; int nkeys = build_key_list (&keys, 0, tracks, numtracks); |