Login window close on success
This commit is contained in:
parent
9cdf2b5902
commit
3505bcc275
@ -58,6 +58,10 @@ LoginView::LoginView():
|
||||
void LoginView::NotifyStatusChanged(LoginModel * sender)
|
||||
{
|
||||
infoLabel->SetText(sender->GetStatusText());
|
||||
if(sender->GetStatus())
|
||||
{
|
||||
c->Exit();
|
||||
}
|
||||
}
|
||||
|
||||
void LoginView::OnDraw()
|
||||
|
Reference in New Issue
Block a user