From 7784fca0d4e4961f10772a96b16fb95e3df64ddd Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 11 Jan 2021 09:53:20 +0100 Subject: [PATCH] Always display Pattern Data table header --- source/views/view_pattern_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);