Просмотр исходного кода

update UI when closing dialog via click in background

Falko Schindler 2 лет назад
Родитель
Сommit
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