parent
9f0376d9aa
commit
d5776d4ddb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user