impr: Make close button on macOS close providers if any are open instead of closing ImHex

This commit is contained in:
WerWolv
2025-07-24 21:37:49 +02:00
parent 2e200a2ab8
commit a9ce71c481
5 changed files with 47 additions and 9 deletions

View File

@@ -103,7 +103,8 @@ namespace hex {
}
void Window::beginNativeWindowFrame() {
if (!ImHexApi::Provider::isValid())
macosMarkContentEdited(m_window, false);
}
void Window::endNativeWindowFrame() {