Only call gui_window_new_content for browser windows with gui windows.
svn path=/trunk/netsurf/; revision=12475
This commit is contained in:
parent
53f4da3420
commit
319a90bff7
|
@ -606,7 +606,8 @@ nserror browser_window_callback(hlcache_handle *c,
|
|||
|
||||
bw->scrollbar = NULL;
|
||||
|
||||
gui_window_new_content(bw->window);
|
||||
if (bw->window)
|
||||
gui_window_new_content(bw->window);
|
||||
|
||||
browser_window_refresh_url_bar(bw,
|
||||
content_get_url(bw->current_content),
|
||||
|
|
Loading…
Reference in New Issue