impr: Hide sections with an empty name
This commit is contained in:
parent
39e74c627e
commit
d297b2d1cc
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 85dac566096528099ae956a49a7ccfe7de1d3f97
|
Subproject commit 965ba40f8b4dca7c1c52a4d7a5b3d42c991f5a96
|
@ -480,6 +480,9 @@ namespace hex::plugin::builtin {
|
|||||||
|
|
||||||
if (TRY_LOCK(ContentRegistry::PatternLanguage::getRuntimeLock())) {
|
if (TRY_LOCK(ContentRegistry::PatternLanguage::getRuntimeLock())) {
|
||||||
for (auto &[id, section] : sections) {
|
for (auto &[id, section] : sections) {
|
||||||
|
if (section.name.empty())
|
||||||
|
continue;
|
||||||
|
|
||||||
ImGui::PushID(id);
|
ImGui::PushID(id);
|
||||||
|
|
||||||
ImGui::TableNextRow();
|
ImGui::TableNextRow();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user