B2021-140 Tables that do not have shading assigned were printing with the previous table’s shading information.

This commit is contained in:
John Jenko 2021-12-01 17:44:08 +00:00
parent 5b237a893f
commit c9779a69ba

View File

@ -982,6 +982,10 @@ namespace Volian.Controls.Library
public void LoadGrid(ItemInfo itemInfo)
{
int profileDepth = ProfileTimer.Push(">>>> VlnFlexGrid.LoadGrid");
// B2021-140 reset the shading information before loading in the next table
// Need to do this because we use static for the tables when we print
MyShading = null;
MyShadingDetailString = null;
_MyItemInfo = itemInfo;
string str = itemInfo.MyContent.MyGrid.Data;
VE_Font vefont = _MyItemInfo.GetItemFont();