mirror of https://github.com/WerWolv/ImHex.git
Close button in pattern popup (#325)
This commit is contained in:
parent
9b316795fc
commit
a4c5d0bb62
|
@ -337,7 +337,8 @@ namespace hex {
|
||||||
ImGui::EndPopup();
|
ImGui::EndPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::BeginPopupModal("hex.view.pattern.menu.file.load_pattern"_lang, nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
|
bool opened = true;
|
||||||
|
if (ImGui::BeginPopupModal("hex.view.pattern.menu.file.load_pattern"_lang, &opened, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||||
|
|
||||||
if (ImGui::BeginListBox("##patterns", ImVec2(-FLT_MIN, 0))) {
|
if (ImGui::BeginListBox("##patterns", ImVec2(-FLT_MIN, 0))) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue