mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
impr: Make close button on macOS close providers if any are open instead of closing ImHex
This commit is contained in:
@@ -103,7 +103,8 @@ namespace hex {
|
||||
}
|
||||
|
||||
void Window::beginNativeWindowFrame() {
|
||||
|
||||
if (!ImHexApi::Provider::isValid())
|
||||
macosMarkContentEdited(m_window, false);
|
||||
}
|
||||
|
||||
void Window::endNativeWindowFrame() {
|
||||
|
||||
Reference in New Issue
Block a user