mirror of https://github.com/WerWolv/ImHex
fix: Pattern Data table not retaining column settings in all cases
This commit is contained in:
parent
84342f7a7b
commit
75efe39298
|
|
@ -215,11 +215,13 @@ namespace hex::plugin::builtin {
|
|||
|
||||
if (!patternsValid) {
|
||||
ImGui::BeginDisabled();
|
||||
ImGui::PushID(1);
|
||||
if (ImGui::BeginTabItem("hex.builtin.view.pattern_data.section.main"_lang)) {
|
||||
static ui::PatternDrawer emptyDrawer;
|
||||
emptyDrawer.draw({ }, nullptr, height);
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
ImGui::PopID();
|
||||
ImGui::EndDisabled();
|
||||
} else {
|
||||
static i32 selectedSection = -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue