mshtml: Call update_doc in init_editor.

This commit is contained in:
Jacek Caban 2007-06-10 11:48:36 +02:00 committed by Alexandre Julliard
parent 86cb9f3d70
commit c135e0d882
2 changed files with 3 additions and 0 deletions

View File

@ -973,6 +973,8 @@ const cmdtable_t editmode_cmds[] = {
void init_editor(HTMLDocument *This)
{
update_doc(This, UPDATE_UI);
if(!This->nscontainer)
return;

View File

@ -3331,6 +3331,7 @@ static void test_editing_mode(void)
test_exec_editmode(unk);
test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED);
test_download(TRUE, FALSE);
test_timer(EXPECT_UPDATEUI);
test_MSHTML_QueryStatus(unk, OLECMDF_SUPPORTED|OLECMDF_ENABLED);
test_exec_fontname(unk, NULL, wszTimesNewRoman);