mirror of https://github.com/OpenVPN/openvpn-gui
fix connection status if only one config exists
parent
efc62c3d19
commit
a91198d010
2
tray.c
2
tray.c
|
@ -94,7 +94,7 @@ CreatePopupMenus()
|
|||
AppendMenu(hMenu, MF_STRING ,IDM_ABOUT, LoadLocalizedString(IDS_MENU_ABOUT));
|
||||
AppendMenu(hMenu, MF_STRING ,IDM_CLOSE, LoadLocalizedString(IDS_MENU_CLOSE));
|
||||
|
||||
SetMenuStatus(&o.conn[0], o.conn[i].state);
|
||||
SetMenuStatus(&o.conn[0], o.conn[0].state);
|
||||
}
|
||||
else {
|
||||
/* Create Main menu with all connections */
|
||||
|
|
Loading…
Reference in New Issue