Skip to content

Commit 853a7d5

Browse files
authored
Add missing trashcan in help (#4471)
Add trashcan in help (browser)
1 parent f38bdd5 commit 853a7d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Client/core/ServerBrowser/CServerBrowser.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ CServerBrowser::CServerBrowser()
210210
m_pGeneralHelpWindow->SetDeactivateHandler(GUI_CALLBACK(&CServerBrowser::OnGeneralHelpDeactivate, this));
211211

212212
float fMaxLeft = pManager->CGUI_GetMaxTextExtent("default-normal", _("Refresh"), _("Add Favorite"), _("Connect"), _("Server information"));
213-
float fMaxRight = pManager->CGUI_GetMaxTextExtent("default-normal", _("Search servers"), _("Search players"), _("Start search"));
213+
float fMaxRight = pManager->CGUI_GetMaxTextExtent("default-normal", _("Search servers"), _("Search players"), _("Start search"), _("Delete from recent"));
214214

215215
CVector2D generalHelpSize(80 + fMaxLeft + 80 + fMaxRight, 160);
216216
CVector2D generalHelpPos = helpButtonPos - generalHelpSize + CVector2D(helpButtonSize.fX, 0);
@@ -233,6 +233,7 @@ CServerBrowser::CServerBrowser()
233233
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 0 + 5, 29, 16, "cgui\\images\\serverbrowser\\search-servers.png"},
234234
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 1 + 5, 29, 16, "cgui\\images\\serverbrowser\\search-players.png"},
235235
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 2 + 5, 16, 16, "cgui\\images\\serverbrowser\\search.png"},
236+
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 3 + 5, 16, 16, "cgui\\images\\serverbrowser\\trashcan.png"},
236237
};
237238

238239
for (uint i = 0; i < NUMELMS(iconInfoList); i++)
@@ -256,6 +257,7 @@ CServerBrowser::CServerBrowser()
256257
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 0, _("Search servers")},
257258
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 1, _("Search players")},
258259
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 2, _("Start search")},
260+
{80 + static_cast<int>(fMaxLeft), iBase + iGap * 3, _("Delete from recent")},
259261
};
260262

261263
for (uint i = 0; i < NUMELMS(helpInfoList); i++)

0 commit comments

Comments
 (0)