From 95d97cf042a5a5f609e4f384e767ac8953a404cc Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Wed, 19 Aug 2026 08:47:45 +0800 Subject: [PATCH] Update Furious/Qt/QtWidgets.py Signed-off-by: Loren Eteval --- Furious/Qt/QtWidgets.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Furious/Qt/QtWidgets.py b/Furious/Qt/QtWidgets.py index b4a14c4..1687ee2 100644 --- a/Furious/Qt/QtWidgets.py +++ b/Furious/Qt/QtWidgets.py @@ -777,6 +777,11 @@ class AppQMessageBox(AppQTransientDialog): MultipleActionBaseWidth = 520 MaximumSurfaceWidth = 720 + # AppQDialog already wires a cleanup callback for its asynchronous registry. + # This message-box-specific registry repeats that cleanup so open() can bypass + # AppQDialog.open() while preserving QMessageBox-compatible show behavior. + # The duplicate cleanup is harmless and idempotent, but future changes must + # keep both registries synchronized or consolidate them deliberately. _openMessageBoxes = {} _standardButtonOrder = ( StandardButton.Ok,