ea0cafa229
### 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. |
||
---|---|---|
.. | ||
init | ||
messaging | ||
window | ||
crash_handlers.cpp | ||
main.cpp | ||
stacktrace.cpp |