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

fix: Max field in value search not resetting when disabling range search

This commit is contained in:
WerWolv 2023-12-17 23:38:10 +01:00
parent 978558649e
commit 8f83fe5135

View File

@ -740,7 +740,9 @@ namespace hex::plugin::builtin {
ImGui::EndDisabled();
}
ImGui::Checkbox("hex.builtin.view.find.value.range"_lang, &settings.range);
if (ImGui::Checkbox("hex.builtin.view.find.value.range"_lang, &settings.range)) {
settings.inputMax = settings.inputMin;
}
ImGui::NewLine();
const std::array<std::string, 10> InputTypes = {