mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Fix for a crashing bug when the next layout element after a radio button or checkbox
is not text.
This commit is contained in:
parent
2c54f1bfe8
commit
5b73fe0c01
@ -6750,8 +6750,11 @@ void CWinCX::invalidateElement( LO_Element *pElement )
|
||||
pp = (LO_Any *)pElement->lo_any.next;
|
||||
}
|
||||
// for other Form element type( button, text input...), the widget handles the focus.
|
||||
ResolveElement(Rect, pp->x, pp->y, pp->x_offset,pp->y_offset, pp->width, pp->height);
|
||||
rectEmpty = FALSE;
|
||||
if (pp)
|
||||
{
|
||||
ResolveElement(Rect, pp->x, pp->y, pp->x_offset,pp->y_offset, pp->width, pp->height);
|
||||
rectEmpty = FALSE;
|
||||
}
|
||||
break;
|
||||
case LO_TEXT :
|
||||
// for a text(link), the element itself has a dotted box as focus.
|
||||
|
Loading…
Reference in New Issue
Block a user