Closed cr0ss0vr closed 8 years ago
potential fix:
change core/GAVPI.cs OpenMainWindow function to check status of OPEN_LOG_MENU_ITEM
if(sysTrayMenu.MenuItems[OPEN_LOG_MENU_ITEM].Enabled){ //do mainform stuff }
alternatively have it toggle open on doubleclick
OnDoubleClickIcon(){
if(sysTrayMenu.MenuItems[ OPEN_LOG_MENU_ITEM ].enabled){ OpenMainWindow( sysTrayMenu.MenuItems[ OPEN_LOG_MENU_ITEM ], null ); }else{
}
Thanks, fixed in commit above.
Steps to reproduce:
1) open app 2) close app (to minimise it to system tray) 3) double click system tray icon a bunch 4) multiple windows open
weird error that I cant reproduce after doing the above: 5) select profile 6) start listening 7) close all GAVPI windows (to minimise to system tray)
gave a nasty NPE the first time, not done it since though