B2019-179: fixed crash when using enter key from first table of two
This commit is contained in:
parent
ca63cfcce0
commit
2d2a58c2a3
@ -3277,8 +3277,11 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
else if (value.MyItemInfo.IsTablePart)
|
else if (value.MyItemInfo.IsTablePart)
|
||||||
{
|
{
|
||||||
ItemLocation = new Point(value.MyParentEditItem.ContentLeft, value.Bottom);
|
// B2019-179: if more than 1 table, get to the first that has the parent:
|
||||||
ItemWidth = value.MyParentEditItem.ContentWidth;
|
EditItem cur = (EditItem)value;
|
||||||
|
while (cur.MyPreviousEditItem != null) cur = cur.MyPreviousEditItem;
|
||||||
|
ItemLocation = new Point(cur.MyParentEditItem.ContentLeft, cur.Bottom);
|
||||||
|
ItemWidth = cur.MyParentEditItem.ContentWidth;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user