Missing arg when right clicking in geography view.

Fixes #10261
This commit is contained in:
SNoiraud 2017-11-11 17:41:21 +01:00
parent 9f0376d9aa
commit d5776d4ddb

View File

@ -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)