Activate the find window's string gadget on open

This commit is contained in:
Chris Young 2013-01-18 21:16:47 +00:00
parent 5f66864c3a
commit c4e8651b27

View File

@ -174,6 +174,9 @@ void ami_search_open(struct gui_window *gwin)
fwin->node = AddObject(window_list,AMINS_FINDWINDOW);
fwin->node->objstruct = fwin;
gwin->shared->searchwin = fwin;
ActivateLayoutGadget((struct Gadget *)fwin->objects[GID_MAIN], fwin->win,
NULL, fwin->objects[GID_SEARCHSTRING]);
}
void ami_search_close(void)