Selaa lähdekoodia

call the correct super() method (fixes #2587)

Falko Schindler 1 vuosi sitten
vanhempi
säilyke
be79532682
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      nicegui/elements/leaflet.py

+ 1 - 1
nicegui/elements/leaflet.py

@@ -144,4 +144,4 @@ class Leaflet(Element, component='leaflet.js'):
 
     def _handle_delete(self) -> None:
         binding.remove(self.layers)
-        super().delete()
+        super()._handle_delete()