Amiga: Remove context help from OS3 options GUI

This is firing without anything being pressed
This commit is contained in:
Chris Young 2024-09-18 14:52:17 +01:00
parent aa4476cb5f
commit c72b5671d7

View File

@ -2146,6 +2146,8 @@ static BOOL ami_gui_opts_event(void *w)
break;
case WMHI_GADGETHELP:
#ifdef __amigaos4__
/* FIXME: this is firing on OS3.2 without HELP being pressed */
if((result & WMHI_GADGETMASK) == 0) {
/* Pointer not over our window */
ami_help_open(AMI_HELP_MAIN, ami_gui_get_screen());
@ -2153,6 +2155,7 @@ static BOOL ami_gui_opts_event(void *w)
/* TODO: Make this sensitive to the tab the user is currently on */
ami_help_open(AMI_HELP_PREFS, ami_gui_get_screen());
}
#endif
break;
case WMHI_GADGETUP: