Fixes bug in forecast thread (close app while downloading). Also makes some style adjustments
This commit is contained in:
@@ -2,11 +2,12 @@ from PyQt5.QtWidgets import QProgressBar
|
||||
from PyQt5.QtCore import Qt, pyqtSignal
|
||||
from constants import Constants
|
||||
|
||||
|
||||
class ClickableProgressBar(QProgressBar):
|
||||
|
||||
clicked = pyqtSignal()
|
||||
|
||||
def __init__(self, parent = None):
|
||||
def __init__(self, parent=None):
|
||||
self.__text = ''
|
||||
super().__init__(parent)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user