mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 09:57:40 +03:00
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:
parent
f40f6464b6
commit
4be52fd259
@ -337,6 +337,10 @@ class AppWindow(object):
|
|||||||
|
|
||||||
self.cmdr = tk.Label(frame, compound=tk.RIGHT, anchor=tk.W, name='cmdr')
|
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')
|
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.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')
|
self.station = HyperlinkLabel(frame, compound=tk.RIGHT, url=self.station_url, name='station')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user