Don't update if there is no browser attached (fixes potential crash on startup)
This commit is contained in:
parent
c3514c2c50
commit
d61713d107
|
@ -3100,7 +3100,7 @@ void ami_toggletabbar(struct gui_window_2 *gwin, bool show)
|
|||
RethinkLayout((struct Gadget *)gwin->objects[GID_MAIN],
|
||||
gwin->win, NULL, TRUE);
|
||||
|
||||
browser_window_update(gwin->bw, false);
|
||||
if(gwin->bw) browser_window_update(gwin->bw, false);
|
||||
}
|
||||
|
||||
void ami_gui_tabs_toggle_all(void)
|
||||
|
|
Loading…
Reference in New Issue