F5 to refresh server browser

This commit is contained in:
def 2016-04-27 20:17:10 +02:00
parent ec7d28ed86
commit dc162d02fc

View file

@ -1335,7 +1335,7 @@ void CMenus::RenderServerbrowser(CUIRect MainView)
else
str_copy(aBuf, Localize("Refresh"), sizeof(aBuf));
if(DoButton_Menu(&s_RefreshButton, aBuf, 0, &Button))
if(DoButton_Menu(&s_RefreshButton, aBuf, 0, &Button) || Input()->KeyPressed(KEY_F5))
{
if(g_Config.m_UiPage == PAGE_INTERNET)
ServerBrowser()->Refresh(IServerBrowser::TYPE_INTERNET);