1
0
mirror of synced 2025-02-17 18:59:21 +01:00

fix: ImGui ID Push/Pop mismatch when disabling inspector rows

This commit is contained in:
WerWolv 2024-06-09 21:18:29 +02:00
parent 4fd65403c0
commit 32a8fcb84d

View File

@ -305,11 +305,12 @@ namespace hex::plugin::builtin {
inspectorRowId++;
};
ImGui::PushID(inspectorRowId);
bool grayedOut = m_hiddenValues.contains(entry.filterValue);
if (!m_tableEditingModeEnabled && grayedOut)
continue;
ImGui::PushID(inspectorRowId);
ImGui::TableNextRow();
ImGui::TableNextColumn();