Fixed ImHex refusing to be closed in some circumstances

This commit is contained in:
WerWolv 2020-12-07 00:42:52 +01:00
parent f3d788de16
commit 485761f45c
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ namespace hex {
if (ProjectFile::hasUnsavedChanges()) {
glfwSetWindowShouldClose(window, GLFW_FALSE);
this->getWindowOpenState() = true;
View::doLater([] { ImGui::OpenPopup("Save Changes"); });
}
});