mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
Fixed ImHex refusing to be closed in some circumstances
This commit is contained in:
@@ -89,6 +89,7 @@ namespace hex {
|
||||
|
||||
if (ProjectFile::hasUnsavedChanges()) {
|
||||
glfwSetWindowShouldClose(window, GLFW_FALSE);
|
||||
this->getWindowOpenState() = true;
|
||||
View::doLater([] { ImGui::OpenPopup("Save Changes"); });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user