mirror of https://github.com/OpenVPN/openvpn-gui
use correct tray icon during reconnect
parent
d8737bfba2
commit
69392ef426
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue