Ignore downloaded public serverlist if public_serverlist is false

Fixes #1807: When the server list finishes downloading, the local server
list resets in certain conditions
This commit is contained in:
Kahrl 2014-12-11 06:52:20 +01:00 committed by Craig Robbins
parent a79a116ac8
commit ff3cfb746e
1 changed files with 4 additions and 2 deletions

View File

@ -186,8 +186,10 @@ function asyncOnlineFavourites()
end,
nil,
function(result)
menudata.favorites = result
core.event_handler("Refresh")
if core.setting_getbool("public_serverlist") then
menudata.favorites = result
core.event_handler("Refresh")
end
end
)
end