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