Don’t expand the RO step properties panel if the working draft does not have a RO Path set

Disable the GoTo button if on an empty RO table type.  Disable the Insert RO button if the working draft does not have a RO Path set
This commit is contained in:
2016-05-24 19:06:30 +00:00
parent 2498cd10dc
commit d28304fd4c
2 changed files with 9 additions and 5 deletions

View File

@@ -3255,10 +3255,12 @@ namespace VEPROMS
}
private void tc_LinkModifyRO(object sender, StepPanelLinkEventArgs args)
{
if (_SelectedROFst == null && (SelectedDVI == null || SelectedDVI.DocVersionAssociationCount == 0)) return; // B2016-128, not RO path associated to the working draft
if (SelectedStepTabPanel == null) return;
infoPanel.Expanded = true;
infoTabs.SelectedTab = infotabRO;
if (SelectedStepTabPanel == null) return;
displayRO.MyROFSTLookup = SelectedROFst.GetROFSTLookup(SelectedDVI);
displayRO.MyRTB = SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyStepRTB;
displayRO.CurROLink = args.MyLinkText.MyRoUsageInfo;