mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
F5 to refresh server browser
This commit is contained in:
parent
ec7d28ed86
commit
dc162d02fc
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue