Launcher: fix local-weather warning
When a weather scenario doesn’t specify any local-weather data, we will use METAR anyway, so remove the warning.
This commit is contained in:
parent
6178457097
commit
e5a9491d34
1 changed files with 1 additions and 2 deletions
|
@ -217,8 +217,7 @@ Item {
|
|||
// set AW tile options
|
||||
var s = _weatherScenarios.localWeatherData(index);
|
||||
if (s.length === 0) {
|
||||
console.warn("Weather scenario " + _weatherScenarios.nameForItem(index)
|
||||
+ " does not specify local weather data");
|
||||
// local weather will use METAR
|
||||
} else {
|
||||
_config.setProperty("/local-weather/tmp/tile-management", s[0]);
|
||||
_config.setProperty("/local-weather/tmp/tile-type", s[1]);
|
||||
|
|
Loading…
Add table
Reference in a new issue