Fix B2015-142: use current item to determine available transition format list rather than procedure
This commit is contained in:
parent
90f5b01067
commit
3fa4783083
@ -209,7 +209,7 @@ namespace Volian.Controls.Library
|
|||||||
// if the selected format is using section default, initialize with the section default (find it),
|
// if the selected format is using section default, initialize with the section default (find it),
|
||||||
// otherwise use current section item.
|
// otherwise use current section item.
|
||||||
int secStartId = secitm.ItemID;
|
int secStartId = secitm.ItemID;
|
||||||
E_TransUI etm = (E_TransUI)_CurrentProcedure.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
|
E_TransUI etm = (E_TransUI)_CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
|
||||||
if ((etm & E_TransUI.SectDefault) == E_TransUI.SectDefault)
|
if ((etm & E_TransUI.SectDefault) == E_TransUI.SectDefault)
|
||||||
{
|
{
|
||||||
secStartId = FindSectionStart(_CurrentProcedure);
|
secStartId = FindSectionStart(_CurrentProcedure);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user