Close base address popup when clicking Set
This commit is contained in:
parent
9ade281a92
commit
0a8368d639
@ -243,8 +243,10 @@ namespace hex {
|
||||
ImGui::InputText("Address", this->m_baseAddressBuffer, 16, ImGuiInputTextFlags_CharsHexadecimal);
|
||||
ImGui::NewLine();
|
||||
|
||||
if (ImGui::Button("Set"))
|
||||
if (ImGui::Button("Set")) {
|
||||
provider->setBaseAddress(strtoull(this->m_baseAddressBuffer, nullptr, 16));
|
||||
ImGui::CloseCurrentPopup();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGui::Button("Cancel"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user