This commit is contained in:
parent
42e70515c6
commit
aac7de181c
@ -725,7 +725,7 @@ namespace Volian.Controls.Library
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
_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[0]);
|
tvTranFillIn((secitm.Steps==null||secitm.Steps.Count==0)?null:secitm.Steps[0]);
|
||||||
tvTran.Enabled = true;
|
tvTran.Enabled = true;
|
||||||
_InitializingTrans = false;
|
_InitializingTrans = false;
|
||||||
}
|
}
|
||||||
@ -773,7 +773,7 @@ namespace Volian.Controls.Library
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
_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[0]);
|
tvTranFillIn((secitm.Steps == null || secitm.Steps.Count == 0) ? null : secitm.Steps[0]);
|
||||||
tvTran.Enabled = true;
|
tvTran.Enabled = 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user