mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-01 06:00:15 +02:00
Login window close on success
This commit is contained in:
@@ -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