From d5776d4ddb4fa7676870e2fb3d9bc8565ce8b9a7 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sat, 11 Nov 2017 17:41:21 +0100 Subject: [PATCH] Missing arg when right clicking in geography view. Fixes #10261 --- gramps/plugins/lib/maps/osmgps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/lib/maps/osmgps.py b/gramps/plugins/lib/maps/osmgps.py index 65625a79e..5d3c19f2a 100644 --- a/gramps/plugins/lib/maps/osmgps.py +++ b/gramps/plugins/lib/maps/osmgps.py @@ -504,7 +504,7 @@ class OsmGps: elif event.button == 2 and event.type == Gdk.EventType.BUTTON_RELEASE: self.end_selection = current self.zone_selection = False - elif Gdk.Event.triggers_context_menu(): + elif Gdk.Event.triggers_context_menu(event): self.build_nav_menu(osm, event, lat, lon) else: self.save_center(lat, lon)