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.
This commit is contained in:
Athanasius committed 2021-04-12 08:30:51 +01:00
1 parent f40f6464b6
commit 4be52fd259
1 file changed
+4
+4
View File
@@ -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')