diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index c17dbb794..90c72c92d 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1820,6 +1820,9 @@ void CChannelList::paintButtonBar(bool is_current) void CChannelList::paintItem(int pos, const bool firstpaint) { + if( (*chanlist).empty() ){ + return; + } int ypos = y+ theight + pos*fheight; fb_pixel_t color; fb_pixel_t bgcolor;