Преглед изворни кода

update UI when closing dialog via click in background

Falko Schindler пре 2 година
родитељ
комит
34b3b0fa89
1 измењених фајлова са 1 додато и 0 уклоњено
  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