Added logic to support the lookup of RO Tables in the RO Tree on the Step Properties panel – Bug fix B2012-264

This commit is contained in:
John Jenko 2014-04-17 13:47:01 +00:00
parent 62a6a06ad0
commit 7b0890848a

View File

@ -2021,6 +2021,8 @@ namespace VEPROMS
SelectedStepTabPanel = args.MyEditItem.MyStepPanel.MyStepTabPanel;
displayRO.ROTypeFilter = SelectedStepTabPanel.MyStepPanel.SelectedEditItem is Volian.Controls.Library.GridItem && (SelectedStepTabPanel.MyStepPanel.SelectedEditItem as Volian.Controls.Library.GridItem).MyFlexGrid.IsRoTable ?
E_ROValueType.Table : (SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyItemInfo.IsFigure) ? E_ROValueType.Image : E_ROValueType.Text;
if (_LastStepRTB.IsRoTable)
displayRO.CurROLink = _LastStepRTB.MyItemInfo.MyContent.ContentRoUsages[0];
}
else
{