1
0
mirror of synced 2024-11-28 09:30:51 +01:00
ImHex/main
SparkyTD ea0cafa229
fix: Not being able to close certain modal popups with the close button on the title bar (#1659)
### Problem description
When the close button is clicked, `ImGui::BeginPopupModal()` sets the
bool passed into the second parameter (p_open) to false. However, the
closing logic did not take this into account, making it difficult to
actually close modal popups.

For example, closing the "Export pattern File" modal took several clicks
on the "X" button, now it closes instantly.

### Implementation description
I added an additional check for the `open` variable being `false` in the
logic that checks the closing condition.
2024-05-09 17:49:31 +02:00
..
forwarder build: Fix various issues with linking, clang and unity builds 2024-01-29 22:57:39 +01:00
gui fix: Not being able to close certain modal popups with the close button on the title bar (#1659) 2024-05-09 17:49:31 +02:00
updater fix: Updater not working correctly on Windows 2024-03-02 17:42:02 +01:00
CMakeLists.txt feat: Added Auto Updater for Windows, macOS and Ubuntu (#1377) 2023-10-21 18:40:24 +00:00