From 4be52fd259ac8e0a6204a86ae0238b1d5aef2f79 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Tue, 30 Mar 2021 20:25:53 +0100 Subject: [PATCH] Add comment about how/when system and station text is updated It took me hours to track this down, due to the use of parent.children(), so let's try to shorten that next time. --- EDMarketConnector.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/EDMarketConnector.py b/EDMarketConnector.py index 403ef5f2..dca11c3c 100755 --- a/EDMarketConnector.py +++ b/EDMarketConnector.py @@ -337,6 +337,10 @@ class AppWindow(object): self.cmdr = tk.Label(frame, compound=tk.RIGHT, anchor=tk.W, name='cmdr') self.ship = HyperlinkLabel(frame, compound=tk.RIGHT, url=self.shipyard_url, name='ship') + # system and station text is set/updated by the 'provider' plugins + # eddb, edsm and inara. Look for: + # + # parent.children['system'] / parent.children['station'] self.system = HyperlinkLabel(frame, compound=tk.RIGHT, url=self.system_url, popup_copy=True, name='system') self.station = HyperlinkLabel(frame, compound=tk.RIGHT, url=self.station_url, name='station')