diff options
-rw-r--r-- | desktop/browser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index fa2d1bcbb..049289852 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -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), |