mshtml: Call set_ns_editmode in better place.
This commit is contained in:
parent
77ff2df83a
commit
8809bef428
|
@ -583,9 +583,6 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
|
|||
debugstr_w(hostinfo.pchHostCss), debugstr_w(hostinfo.pchHostNS));
|
||||
}
|
||||
|
||||
if(This->nscontainer)
|
||||
set_ns_editmode(This->nscontainer);
|
||||
|
||||
update_doc(This, UPDATE_UI);
|
||||
|
||||
if(This->mon) {
|
||||
|
@ -610,12 +607,17 @@ static HRESULT exec_editmode(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in,
|
|||
return hres;
|
||||
|
||||
if(This->ui_active) {
|
||||
RECT rcBorderWidths;
|
||||
|
||||
if(This->ip_window)
|
||||
call_set_active_object(This->ip_window, NULL);
|
||||
if(This->hostui)
|
||||
IDocHostUIHandler_HideUI(This->hostui);
|
||||
}
|
||||
|
||||
if(This->nscontainer)
|
||||
set_ns_editmode(This->nscontainer);
|
||||
|
||||
if(This->ui_active) {
|
||||
RECT rcBorderWidths;
|
||||
|
||||
if(This->hostui)
|
||||
IDocHostUIHandler_ShowUI(This->hostui, DOCHOSTUITYPE_AUTHOR, ACTOBJ(This), CMDTARGET(This),
|
||||
|
|
Loading…
Reference in New Issue