mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
EDDN: tracking_ui_update(): check if this UI bit actually active
This commit is contained in:
parent
62b5e4e7eb
commit
fc34d023b6
@ -995,7 +995,10 @@ def plugin_app(parent: tk.Tk) -> Optional[tk.Frame]:
|
||||
|
||||
|
||||
def tracking_ui_update() -> None:
|
||||
"""Update the Tracking UI with current data."""
|
||||
"""Update the Tracking UI with current data, if required."""
|
||||
if not config.eddn_tracking_ui:
|
||||
return
|
||||
|
||||
this.ui_j_body_name['text'] = '≪None≫'
|
||||
if this.body_name is not None:
|
||||
this.ui_j_body_name['text'] = this.body_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user