Skip to content

Commit

Permalink
Update radarwidget.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Sep 2, 2024
1 parent 2f5c75c commit 506e6f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bluesky/ui/qtgl/radarwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,9 @@ def event(self, event):
event.button() & Qt.MouseButton.LeftButton and not self.mousedragged:
lat, lon = self.pixelCoordsToLatLon(event.pos().x(), event.pos().y())
actdata = ss.get()
# TODO routedata isn't really a sharedstate, it only gives a selected route
tostack, tocmdline = radarclick(console.get_cmdline(), lat, lon,
actdata.acdata, actdata.routedata)
actdata.acdata, getattr(actdata, 'routedata', None))

console.process_cmdline((tostack + '\n' + tocmdline) if tostack else tocmdline)

Expand Down

0 comments on commit 506e6f6

Please sign in to comment.