diff --git a/src/gui/infoviewer.cpp b/src/gui/infoviewer.cpp index 31759a001..d5c39564b 100644 --- a/src/gui/infoviewer.cpp +++ b/src/gui/infoviewer.cpp @@ -301,10 +301,13 @@ void CInfoViewer::showRecordIcon (const bool show) if (rec->isPainted()) { - if (rec->getCCItem(NEUTRINO_ICON_REC)->isPainted()) - rec->getCCItem(NEUTRINO_ICON_REC)->kill(); - else - rec->getCCItem(NEUTRINO_ICON_REC)->paint(); + if (rec->getCCItem(0)) + { + if (rec->getCCItem(0)->isPainted()) + rec->getCCItem(0)->kill(); + else + rec->getCCItem(0)->paint(); + } } else rec->paint();