Geography View: Fix number of arguments in add_bookmark method
add_bookmark() takes 2 positional arguments but 3 were given Fixes #12718
This commit is contained in:
parent
181e2d8540
commit
97434a0136
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user