mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Update UI before sending data to EDDN
This commit is contained in:
parent
457595c217
commit
7093f45191
@ -587,6 +587,7 @@ class AppWindow:
|
|||||||
entry['StarPos'] = list(monitor.coordinates)
|
entry['StarPos'] = list(monitor.coordinates)
|
||||||
|
|
||||||
self.status['text'] = _('Sending data to EDDN...')
|
self.status['text'] = _('Sending data to EDDN...')
|
||||||
|
self.w.update_idletasks()
|
||||||
eddn.export_journal_entry(monitor.cmdr, monitor.is_beta, entry)
|
eddn.export_journal_entry(monitor.cmdr, monitor.is_beta, entry)
|
||||||
self.status['text'] = ''
|
self.status['text'] = ''
|
||||||
|
|
||||||
@ -603,6 +604,7 @@ class AppWindow:
|
|||||||
])
|
])
|
||||||
|
|
||||||
self.status['text'] = _('Sending data to EDDN...')
|
self.status['text'] = _('Sending data to EDDN...')
|
||||||
|
self.w.update_idletasks()
|
||||||
eddn.export_blackmarket(monitor.cmdr, monitor.is_beta, msg)
|
eddn.export_blackmarket(monitor.cmdr, monitor.is_beta, msg)
|
||||||
self.status['text'] = ''
|
self.status['text'] = ''
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user