diff --git a/gui/collection.cpp b/gui/collection.cpp index 7f8450d1..ae7df681 100644 --- a/gui/collection.cpp +++ b/gui/collection.cpp @@ -56,7 +56,8 @@ static void collection_added(struct queue *queue, unsigned int pos) static void collection_removed(struct queue *queue, unsigned int pos) { - collection_tab->on_track_removed(pos); + if (collection_tab) + collection_tab->on_track_removed(pos); } static void collection_updated(struct queue *queue, unsigned int pos)