Clear player name text field on delete

master
krzys-h 2015-09-01 16:25:09 +02:00
parent ec9a38a681
commit 6f38ec1911
1 changed files with 5 additions and 0 deletions

View File

@ -468,6 +468,11 @@ void CScreenPlayerSelect::NameDelete()
}
pl->SetSelect(-1);
CEdit* pe = static_cast<CEdit*>(pw->SearchControl(EVENT_INTERFACE_NEDIT));
if (pe != nullptr)
{
pe->SetText("");
}
ReadNameList();
UpdateNameList();