mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
mshtml: Call update_doc in init_editor.
This commit is contained in:
parent
86cb9f3d70
commit
c135e0d882
@ -973,6 +973,8 @@ const cmdtable_t editmode_cmds[] = {
|
||||
|
||||
void init_editor(HTMLDocument *This)
|
||||
{
|
||||
update_doc(This, UPDATE_UI);
|
||||
|
||||
if(!This->nscontainer)
|
||||
return;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user