mirror of
https://github.com/norohind/EDMC_SpanshRouter.git
synced 2025-04-21 11:37:36 +03:00
Replace usage of monitor.system with monitor.state['SystemName'] to work with latest EDMarketConnector version
This commit is contained in:
parent
534f9c98fa
commit
b62d4cb2dd
@ -160,7 +160,7 @@ class SpanshRouter():
|
||||
self.csv_route_btn.grid_remove()
|
||||
self.source_ac.grid()
|
||||
# Prefill the "Source" entry with the current system
|
||||
self.source_ac.set_text(monitor.system if monitor.system is not None else "Source System", monitor.system is None)
|
||||
self.source_ac.set_text(monitor.state['SystemName'] if monitor.state['SystemName'] is not None else "Source System", monitor.state['SystemName'] is None)
|
||||
self.dest_ac.grid()
|
||||
self.range_entry.grid()
|
||||
self.efficiency_slider.grid()
|
||||
@ -597,7 +597,7 @@ class SpanshRouter():
|
||||
self.jumps_left += waypoint["jumps"]
|
||||
self.enable_plot_gui(True)
|
||||
self.show_plot_gui(False)
|
||||
self.offset = 1 if self.route[0][0] == monitor.system else 0
|
||||
self.offset = 1 if self.route[0][0] == monitor.state['SystemName'] else 0
|
||||
self.next_stop = self.route[self.offset][0]
|
||||
self.copy_waypoint()
|
||||
self.update_gui()
|
||||
|
Loading…
x
Reference in New Issue
Block a user