[P] Add database update after marker deletion.

This commit is contained in:
2026-03-27 16:28:03 +01:00
committed by hasslesstech
parent 2c4526d0ec
commit adae93aba4
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)