Commit c135e0d8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Call update_doc in init_editor.

parent 86cb9f3d
...@@ -973,6 +973,8 @@ const cmdtable_t editmode_cmds[] = { ...@@ -973,6 +973,8 @@ const cmdtable_t editmode_cmds[] = {
void init_editor(HTMLDocument *This) void init_editor(HTMLDocument *This)
{ {
update_doc(This, UPDATE_UI);
if(!This->nscontainer) if(!This->nscontainer)
return; return;
......
...@@ -3331,6 +3331,7 @@ static void test_editing_mode(void) ...@@ -3331,6 +3331,7 @@ static void test_editing_mode(void)
test_exec_editmode(unk); test_exec_editmode(unk);
test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED); test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED);
test_download(TRUE, FALSE); test_download(TRUE, FALSE);
test_timer(EXPECT_UPDATEUI);
test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED|OLECMDF_ENABLED); test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED|OLECMDF_ENABLED);
test_exec_fontname(unk, NULL, wszTimesNewRoman); test_exec_fontname(unk, NULL, wszTimesNewRoman);
......
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