mirror of https://github.com/WerWolv/ImHex.git
fix: Dangerous function call popup keep appearing
This commit is contained in:
parent
03f357efd1
commit
5c3ee9f499
|
@ -420,6 +420,7 @@ namespace hex::plugin::builtin {
|
|||
|
||||
if (this->m_dangerousFunctionCalled && !ImGui::IsPopupOpen(View::toWindowName("hex.builtin.view.pattern_editor.dangerous_function.name").c_str())) {
|
||||
ImGui::OpenPopup(View::toWindowName("hex.builtin.view.pattern_editor.dangerous_function.name").c_str());
|
||||
this->m_dangerousFunctionCalled = false;
|
||||
}
|
||||
|
||||
if (ImGui::BeginPopupModal(View::toWindowName("hex.builtin.view.pattern_editor.dangerous_function.name").c_str(), nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||
|
|
Loading…
Reference in New Issue