impr: Hide sections with an empty name

This commit is contained in:
WerWolv
2023-07-03 12:04:20 +02:00
parent 39e74c627e
commit d297b2d1cc
2 changed files with 4 additions and 1 deletions

View File

@@ -480,6 +480,9 @@ namespace hex::plugin::builtin {
if (TRY_LOCK(ContentRegistry::PatternLanguage::getRuntimeLock())) {
for (auto &[id, section] : sections) {
if (section.name.empty())
continue;
ImGui::PushID(id);
ImGui::TableNextRow();