[P] Add database update after marker deletion.
All checks were successful
Component testing / Hub testing (push) Successful in 23s
Component testing / Store testing (push) Successful in 34s
Component testing / Integration smoke testing (push) Successful in 2m54s

This commit is contained in:
2026-03-27 16:28:03 +01:00
parent 51fca8436a
commit f5486f0469
2 changed files with 11 additions and 0 deletions

View File

@@ -162,6 +162,8 @@ class MapViewApp(App):
elif clicked_marker in self.bump_markers:
self.bump_markers.pop(self.bump_markers.index(clicked_marker))
self.datasource.update_db_records()
def on_touch_down(self, widget, touch):
if touch.button == "right":
coordinate = self.mapview.get_latlon_at(touch.x, touch.y, self.mapview.zoom)