Modulations and locations lists are now detected at startup.
Also improve styles of some widgets. Also fix a bug in forecast screen.
This commit is contained in:
@@ -74,10 +74,9 @@ class MultiColorSwitchableLabel(_BaseSwitchableLabel):
|
||||
def switch_on(self):
|
||||
if 5 <= self.level <= 9:
|
||||
super().switch_on()
|
||||
self.setStyleSheet(f"color: {self.LEVEL_COLORS[self.level]}"
|
||||
# f"""background-color: {self.LEVEL_COLORS[self.level]};
|
||||
# color: #000000;
|
||||
# """
|
||||
self.setStyleSheet(
|
||||
f"""color: {self.LEVEL_COLORS[self.level]};
|
||||
text-decoration: underline;"""
|
||||
)
|
||||
|
||||
def switch_off(self):
|
||||
|
||||
Reference in New Issue
Block a user