mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Pattern Data table not retaining column settings in all cases
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user