1
0
mirror of synced 2024-11-24 15:50:16 +01:00

fix: Denying server contact leaving crash upload option enabled

Fixes #1594
This commit is contained in:
WerWolv 2024-03-13 09:41:04 +01:00
parent 6972736abf
commit 45b05a4846

View File

@ -348,6 +348,8 @@ namespace hex::plugin::builtin {
// Draw deny button // Draw deny button
ImGui::SetCursorPosX(buttonPos(2)); ImGui::SetCursorPosX(buttonPos(2));
if (ImGui::Button("hex.ui.common.deny"_lang, buttonSize)) { if (ImGui::Button("hex.ui.common.deny"_lang, buttonSize)) {
ContentRegistry::Settings::write<int>("hex.builtin.setting.general", "hex.builtin.setting.general.server_contact", 0);
ContentRegistry::Settings::write<int>("hex.builtin.setting.general", "hex.builtin.setting.general.upload_crash_logs", 0);
page += 1; page += 1;
} }