diff --git a/re/frameinfowindow.cpp b/re/frameinfowindow.cpp index 225d963..3701210 100644 --- a/re/frameinfowindow.cpp +++ b/re/frameinfowindow.cpp @@ -318,6 +318,8 @@ void FrameInfoWindow::updateDetailsWindow(QString newID) if (thisFrame.frameId() == static_cast(targettedID)) frameCache.append(thisFrame); } + if (frameCache.count() == 0) return; //nothing to do if there are no frames! + const unsigned char *data = reinterpret_cast(frameCache.at(0).payload().constData()); int dataLen = frameCache.at(0).payload().length();