From 846b53485474211a24248c9b0d5cc4205104a772 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 30 Jun 2014 22:37:05 +0100 Subject: Recreate the entire menu when the hotlist window is closed. This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update. --- amiga/menu.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'amiga/menu.c') diff --git a/amiga/menu.c b/amiga/menu.c index c6258be6f..784fec163 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -485,14 +485,6 @@ struct NewMenu *ami_create_menu(struct gui_window_2 *gwin) if(nsoption_bool(background_images) == true) gwin->menu[M_IMGBACK].nm_Flags |= CHECKED; - /* Set up scheduler to refresh the hotlist menu */ - if(nsoption_int(menu_refresh) > 0) - { - ami_schedule(nsoption_int(menu_refresh) * 10, - (void *)ami_menu_refresh, - gwin); - } - return(gwin->menu); } -- cgit v1.2.3