Explorar o código

update UI when closing dialog via click in background

Falko Schindler %!s(int64=2) %!d(string=hai) anos
pai
achega
34b3b0fa89
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      nicegui/elements/dialog.py

+ 1 - 0
nicegui/elements/dialog.py

@@ -49,4 +49,5 @@ class Dialog(Group):
         self._result = None
         if self._submitted is not None:
             self._submitted.set()
+        self.update()
         return False