Browse Source

fix connection status if only one config exists

pull/1/head
Heiko Hund 14 years ago
parent
commit
a91198d010
  1. 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…
Cancel
Save