Fix 1483163.

svn path=/trunk/netsurf/; revision=3095
This commit is contained in:
Richard Wilson 2006-12-03 11:49:39 +00:00
parent 0accd55b91
commit 6eb93ff077
1 changed files with 2 additions and 0 deletions

View File

@ -1149,6 +1149,8 @@ void gui_window_remove_caret(struct gui_window *g)
void gui_window_new_content(struct gui_window *g)
{
if (search_current_window == g)
ro_gui_search_end(dialog_search);
ro_gui_menu_objects_moved();
ro_gui_prepare_navigate(g);
ro_gui_dialog_close_persistent(g->window);