use correct tray icon during reconnect

pull/1/head
Heiko Hund 2012-04-03 13:55:25 +02:00
parent d8737bfba2
commit 69392ef426
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ OnStateChange(connection_t *c, char *data)
if (c->failed_psw_attempts >= o.psw_attempts - 1) if (c->failed_psw_attempts >= o.psw_attempts - 1)
ManagementCommand(c, "auth-retry none", NULL, regular); ManagementCommand(c, "auth-retry none", NULL, regular);
c->state = reconnecting;
CheckAndSetTrayIcon(); CheckAndSetTrayIcon();
SetDlgItemText(c->hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_RECONNECTING)); SetDlgItemText(c->hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_RECONNECTING));