From 97434a0136573613372f2a8f5178f2cd4a2f3e9d Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 22 Oct 2022 10:00:39 +0200 Subject: [PATCH] Geography View: Fix number of arguments in add_bookmark method add_bookmark() takes 2 positional arguments but 3 were given Fixes #12718 --- gramps/plugins/lib/maps/geography.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/plugins/lib/maps/geography.py b/gramps/plugins/lib/maps/geography.py index 80c06bd68..23e83516a 100644 --- a/gramps/plugins/lib/maps/geography.py +++ b/gramps/plugins/lib/maps/geography.py @@ -193,11 +193,12 @@ class GeoGraphyView(OsmGps, NavigationView): """ self.build_tree() - def add_bookmark(self, menu): + def add_bookmark(self, menu, handle): """ Add the place to the bookmark """ dummy_menu = menu + dummy_hdle = handle mlist = self.selected_handles() if mlist: self.bookmarks.add(mlist[0])