mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Update to use browser_window_refresh_url_bar()
svn path=/trunk/netsurf/; revision=7000
This commit is contained in:
parent
6656ac5984
commit
76665e8886
@ -1369,13 +1369,11 @@ void ami_switch_tab(struct gui_window_2 *gwin,bool redraw)
|
||||
|
||||
browser_window_update(gwin->bw);
|
||||
|
||||
// if((gwin->bw->window->scrollx) || (gwin->bw->window->scrolly))
|
||||
// {
|
||||
gui_window_set_scroll(gwin->bw->window,gwin->bw->window->scrollx,gwin->bw->window->scrolly);
|
||||
// }
|
||||
gui_window_set_scroll(gwin->bw->window,gwin->bw->window->scrollx,gwin->bw->window->scrolly);
|
||||
|
||||
if(gwin->bw->current_content)
|
||||
gui_window_set_url(gwin->bw->window,gwin->bw->current_content->url);
|
||||
browser_window_refresh_url_bar(gwin->bw,gwin->bw->current_content->url,
|
||||
gwin->bw->frag_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user