diff options
Diffstat (limited to 'src/timelineDecoder/TimelineDecoder.cpp')
-rw-r--r-- | src/timelineDecoder/TimelineDecoder.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timelineDecoder/TimelineDecoder.cpp b/src/timelineDecoder/TimelineDecoder.cpp index f7f4663530..9aa84d2084 100644 --- a/src/timelineDecoder/TimelineDecoder.cpp +++ b/src/timelineDecoder/TimelineDecoder.cpp @@ -151,6 +151,13 @@ void TimelineDecoder::SetDefaultCallbacks() void TimelineDecoder::print() { + if (m_Model.m_Labels.empty() && m_Model.m_Entities.empty() && m_Model.m_EventClasses.empty() && + m_Model.m_Events.empty() && m_Model.m_Relationships.empty()) + { + std::cout << "No timeline packets received" << std::endl; + return; + } + printLabels(); printEntities(); printEventClasses(); |