mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-13 20:04:01 +02:00
Login window close on success
This commit is contained in:
@@ -58,6 +58,10 @@ LoginView::LoginView():
|
|||||||
void LoginView::NotifyStatusChanged(LoginModel * sender)
|
void LoginView::NotifyStatusChanged(LoginModel * sender)
|
||||||
{
|
{
|
||||||
infoLabel->SetText(sender->GetStatusText());
|
infoLabel->SetText(sender->GetStatusText());
|
||||||
|
if(sender->GetStatus())
|
||||||
|
{
|
||||||
|
c->Exit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void LoginView::OnDraw()
|
void LoginView::OnDraw()
|
||||||
|
Reference in New Issue
Block a user