B2017-202 Refresh the RO tree in the Step Properties panel when Update ROs is done from the Administer Tools
This commit is contained in:
parent
19b4f603df
commit
e92144b7ff
@ -944,6 +944,26 @@ namespace VEPROMS
|
|||||||
// if ro.fst was 'updated' from the roeditor, enable the update ro.fst values on
|
// if ro.fst was 'updated' from the roeditor, enable the update ro.fst values on
|
||||||
// the steptabribbon.
|
// the steptabribbon.
|
||||||
if (tc.ShuttingDown) return;
|
if (tc.ShuttingDown) return;
|
||||||
|
// B2017-202 update the RO tree in the step properties panel
|
||||||
|
if (tc.MyBar.SelectedDockTab > -1)
|
||||||
|
{
|
||||||
|
DisplayTabItem myDTI = tc.MyBar.Items[tc.MyBar.SelectedDockTab] as DisplayTabItem;
|
||||||
|
if (myDTI.MyDSOTabPanel != null)
|
||||||
|
{
|
||||||
|
DSOTabPanel myDTP = myDTI.MyDSOTabPanel;
|
||||||
|
SelectedROFst = myDTP.MyDisplayTabItem.MyItemInfo.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||||
|
displayRO.MyROFST = SelectedROFst; // need this to update RO Tree after UpdateRofst (B2015-226)
|
||||||
|
displayRO.MyROFSTLookup = SelectedROFst.GetROFSTLookup(SelectedDVI);
|
||||||
|
displayRO.RefreshRoTree();
|
||||||
|
}
|
||||||
|
else if (tc.MyEditItem != null && displayRO.MyROFST != null && tc.MyEditItem.MyItemInfo.MyDocVersion.DocVersionAssociations[0].ROFstID != displayRO.MyROFST.ROFstID)
|
||||||
|
{
|
||||||
|
SelectedROFst = tc.MyEditItem.MyItemInfo.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||||
|
displayRO.MyROFST = SelectedROFst; // need this to update RO Tree after UpdateRofst (B2015-226)
|
||||||
|
displayRO.MyROFSTLookup = SelectedROFst.GetROFSTLookup(SelectedDVI);
|
||||||
|
displayRO.RefreshRoTree();
|
||||||
|
}
|
||||||
|
}
|
||||||
if (SelectedStepTabPanel != null && SelectedStepTabPanel.MyStepTabRibbon != null)
|
if (SelectedStepTabPanel != null && SelectedStepTabPanel.MyStepTabRibbon != null)
|
||||||
SelectedStepTabPanel.MyStepTabRibbon.SetUpdRoValBtn(SelectedStepTabPanel.MyStepTabRibbon.NewerRoFst());
|
SelectedStepTabPanel.MyStepTabRibbon.SetUpdRoValBtn(SelectedStepTabPanel.MyStepTabRibbon.NewerRoFst());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user