Update Furious/Qt/QtWidgets.py

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2026-08-19 08:47:45 +08:00
parent f437d042fd
commit 95d97cf042
+5
View File
@@ -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,