Added call to reflow document when all connections complete if it contains an unsized image.

git-svn-id: svn://10.0.0.236/trunk@9697 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
1998-09-10 01:05:46 +00:00
parent 042141318b
commit d67b4d3f6b

View File

@@ -672,6 +672,13 @@ XFE_AllConnectionsComplete(MWContext *context)
else if((context->type != MWContextSearch)
&& (context->type != MWContextSearchLdap) )
{
/* At this point, we need to pay our dues if we've been lazy
about getting image sizes. If the context is marked for
reflow, then do it now... */
if (context->requires_reflow) {
LO_RelayoutFromElement(context, NULL);
context->requires_reflow = PR_FALSE;
}
XFE_Progress (top, XP_GetString(XFE_DOCUMENT_DONE));
}