C2020-028: On Transition Panel, disable/uncheck ‘Include Step Number’ if on WORD section
This commit is contained in:
parent
2c488befba
commit
ae93427f2b
@ -908,6 +908,8 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
tvTran.Nodes.Clear();
|
tvTran.Nodes.Clear();
|
||||||
tvTran.Enabled = false;
|
tvTran.Enabled = false;
|
||||||
|
cbIncStepNum.Enabled = false; // C2020-028: disable/uncheck 'Include Step Number' if on Word doc
|
||||||
|
cbIncStepNum.Checked = false;
|
||||||
// Set Save & Cancel enabling, depending on whether section can be an endpoint.
|
// Set Save & Cancel enabling, depending on whether section can be an endpoint.
|
||||||
E_TransUI etm = (E_TransUI)_CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
|
E_TransUI etm = (E_TransUI)_CurItemFrom.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList[_TranFmtIndx].TransUI;
|
||||||
SaveCancelEnabling();
|
SaveCancelEnabling();
|
||||||
@ -917,6 +919,8 @@ namespace Volian.Controls.Library
|
|||||||
_InitializingTrans = true; // just initializing now, don't set any ranges, etc.
|
_InitializingTrans = true; // just initializing now, don't set any ranges, etc.
|
||||||
tvTranFillIn((secitm.Steps == null || secitm.Steps.Count == 0) ? null : secitm.Steps[0]);
|
tvTranFillIn((secitm.Steps == null || secitm.Steps.Count == 0) ? null : secitm.Steps[0]);
|
||||||
tvTran.Enabled = true;
|
tvTran.Enabled = true;
|
||||||
|
cbIncStepNum.Enabled = true;
|
||||||
|
cbIncStepNum.Checked = true;
|
||||||
// if doing a 'new' range, no node is selected in tree. Without this, the first node in the
|
// if doing a 'new' range, no node is selected in tree. Without this, the first node in the
|
||||||
// tree was the selected node which was throwing off the logic for defining the _RangeNode1
|
// tree was the selected node which was throwing off the logic for defining the _RangeNode1
|
||||||
// and _RangeNode2
|
// and _RangeNode2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user