Login window close on success

This commit is contained in:
Simon Robertshaw 2012-01-25 00:59:19 +00:00
parent 9cdf2b5902
commit 3505bcc275

View File

@ -58,6 +58,10 @@ LoginView::LoginView():
void LoginView::NotifyStatusChanged(LoginModel * sender)
{
infoLabel->SetText(sender->GetStatusText());
if(sender->GetStatus())
{
c->Exit();
}
}
void LoginView::OnDraw()