Commit 23465f21 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Don't crash in UIActivate if Gecko is not available.

parent 75eb61cd
......@@ -577,7 +577,8 @@ static HRESULT WINAPI OleDocumentView_UIActivate(IOleDocumentView *iface, BOOL f
}
This->focus = TRUE;
nsIWebBrowserFocus_Activate(This->nscontainer->focus);
if(This->nscontainer)
nsIWebBrowserFocus_Activate(This->nscontainer->focus);
notif_focus(This);
update_doc(This, UPDATE_UI);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment