Update left half of space weather with colored labels. Also apply minor modifications
This commit is contained in:
@@ -50,11 +50,11 @@ class DownloadWindow(QWidget, Ui_Download_window):
|
||||
|
||||
@pyqtSlot()
|
||||
def wait_close(self):
|
||||
if self.download_thread.status == ThreadStatus.OK:
|
||||
if self.download_thread.status is ThreadStatus.OK:
|
||||
self.close()
|
||||
elif self.download_thread.status == ThreadStatus.NO_CONNECTION_ERR:
|
||||
elif self.download_thread.status is ThreadStatus.NO_CONNECTION_ERR:
|
||||
self.show_no_connection_warning()
|
||||
elif self.download_thread.status == ThreadStatus.BAD_DOWNLOAD_ERR:
|
||||
elif self.download_thread.status is ThreadStatus.BAD_DOWNLOAD_ERR:
|
||||
self.show_bad_download_warning()
|
||||
else:
|
||||
self.close()
|
||||
|
||||
Reference in New Issue
Block a user