Reorder pop for #3532 (#3533)

* add make sure disabled flag gets popped

* reordering : ]

* what?

---------

Co-authored-by: jordanpg <jordanpg@users.noreply.github.com>
This commit is contained in:
Jordan Gilbreath 2023-12-17 22:13:35 -05:00 committed by GitHub
parent d99cd52eea
commit 36e030e339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1793,8 +1793,8 @@ void RandomizerSettingsWindow::DrawElement() {
if (mSettings->GetOptionGroup(RSG_ITEMS_IMGUI_TABLE).RenderImGui()) { if (mSettings->GetOptionGroup(RSG_ITEMS_IMGUI_TABLE).RenderImGui()) {
mNeedsUpdate = true; mNeedsUpdate = true;
} }
ImGui::PopStyleVar(1);
ImGui::EndDisabled(); ImGui::EndDisabled();
ImGui::PopStyleVar(1);
ImGui::EndTabItem(); ImGui::EndTabItem();
} }
ImGui::EndDisabled(); ImGui::EndDisabled();