When adding an RO Table, the code that looks-up the RO was failing because an RO has yet to be assigned.
This commit is contained in:
parent
7b0890848a
commit
8c429b93dc
@ -2021,7 +2021,7 @@ 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)
|
||||
if (_LastStepRTB.IsRoTable && _LastStepRTB.MyItemInfo.MyContent.ContentRoUsageCount > 0)
|
||||
displayRO.CurROLink = _LastStepRTB.MyItemInfo.MyContent.ContentRoUsages[0];
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user