diff --git a/source/views/view_pattern_data.cpp b/source/views/view_pattern_data.cpp index fdb64088f..8c6c38e16 100644 --- a/source/views/view_pattern_data.cpp +++ b/source/views/view_pattern_data.cpp @@ -54,8 +54,8 @@ namespace hex { if (provider != nullptr && provider->isReadable()) { if (beginPatternDataTable(provider, this->m_patternData, this->m_sortedPatternData)) { + ImGui::TableHeadersRow(); if (this->m_sortedPatternData.size() > 0) { - ImGui::TableHeadersRow(); for (auto &patternData : this->m_sortedPatternData) patternData->createEntry(provider);