mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Welcome screen quick settings executing handler more than once
This commit is contained in:
@@ -535,7 +535,6 @@ namespace hex::plugin::builtin {
|
||||
for (auto &[onIcon, offIcon, unlocalizedTooltip, toggleCallback, state] : quickSettings) {
|
||||
ImGui::PushID(id + 1);
|
||||
if (ImGuiExt::DimmedIconToggle(onIcon.c_str(), offIcon.c_str(), &state)) {
|
||||
toggleCallback(state);
|
||||
ContentRegistry::Settings::write<bool>("hex.builtin.settings.quick_settings", unlocalizedTooltip, state);
|
||||
}
|
||||
if (id % 5 > 0)
|
||||
|
||||
Reference in New Issue
Block a user