[P] Add database update after marker deletion.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user