[project @ 2005-03-20 23:42:23 by jmb]
Only stop existing fetch for window if we're really going to initiate a new one. svn path=/import/netsurf/; revision=1564
This commit is contained in:
parent
dfdf4741f8
commit
81c410a6a6
|
@ -176,9 +176,6 @@ void browser_window_go_post(struct browser_window *bw, const char *url,
|
|||
return;
|
||||
}
|
||||
|
||||
browser_window_stop(bw);
|
||||
browser_window_remove_caret(bw);
|
||||
|
||||
/* check we can actually handle this URL */
|
||||
if (!fetch_can_fetch(url2)) {
|
||||
gui_launch_url(url2);
|
||||
|
@ -211,6 +208,9 @@ void browser_window_go_post(struct browser_window *bw, const char *url,
|
|||
}
|
||||
}
|
||||
|
||||
browser_window_stop(bw);
|
||||
browser_window_remove_caret(bw);
|
||||
|
||||
url_content = url_store_find(url2);
|
||||
if (url_content)
|
||||
url_content->visits++;
|
||||
|
|
Loading…
Reference in New Issue