mirror of https://github.com/WerWolv/ImHex.git
Fixed ImHex refusing to be closed in some circumstances
This commit is contained in:
parent
f3d788de16
commit
485761f45c
|
@ -89,6 +89,7 @@ namespace hex {
|
|||
|
||||
if (ProjectFile::hasUnsavedChanges()) {
|
||||
glfwSetWindowShouldClose(window, GLFW_FALSE);
|
||||
this->getWindowOpenState() = true;
|
||||
View::doLater([] { ImGui::OpenPopup("Save Changes"); });
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue