mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixing display of "sunny" during clear conditions at night.
This commit is contained in:
parent
b8c14d69c3
commit
3ad51cafa8
@ -220,7 +220,7 @@ class QWeatherWidget(QGroupBox):
|
|||||||
precipitation = self.conditions.weather.clouds.precipitation
|
precipitation = self.conditions.weather.clouds.precipitation
|
||||||
|
|
||||||
if not cloud_density:
|
if not cloud_density:
|
||||||
self.forecastClouds.setText("Sunny")
|
self.forecastClouds.setText("Clear")
|
||||||
weather_type = "clear"
|
weather_type = "clear"
|
||||||
elif cloud_density < 3:
|
elif cloud_density < 3:
|
||||||
self.forecastClouds.setText("Partly Cloudy")
|
self.forecastClouds.setText("Partly Cloudy")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user