This commit is contained in:
parent
8b2435c876
commit
d126729cae
@ -744,7 +744,7 @@ namespace Volian.Controls.Library
|
||||
MessageBox.Show("Must select two items at the step level or below, i.e. no sections, procedures, etc.");
|
||||
return;
|
||||
}
|
||||
linktxt = string.Format("#Link:Transition: {0} xx {1} {2}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID, _tranitem2.ItemID);
|
||||
linktxt = string.Format("#Link:Transition:{0} <NewID> {1} {2}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID, _tranitem2.ItemID);
|
||||
}
|
||||
else if ((etm & E_TransUI.StepFirst) == E_TransUI.StepFirst)
|
||||
{
|
||||
@ -752,7 +752,7 @@ namespace Volian.Controls.Library
|
||||
if (vtn != null)
|
||||
{
|
||||
_tranitem1 = (ItemInfo)vtn.VEObject; // is this cast valid?
|
||||
linktxt = string.Format("#Link:Transition: {0} xx {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
linktxt = string.Format("#Link:Transition:{0} <NewID> {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
}
|
||||
}
|
||||
if (_tranitem1 == null && (etm & E_TransUI.SectMenuAny) == E_TransUI.SectMenuAny)
|
||||
@ -769,7 +769,7 @@ namespace Volian.Controls.Library
|
||||
MessageBox.Show("Must 'Select Section' or 'Select Step' for transition 'to'");
|
||||
return;
|
||||
}
|
||||
linktxt = string.Format("#Link:Transition: {0} xx {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
linktxt = string.Format("#Link:Transition:{0} <NewID> {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
}
|
||||
if (_tranitem1 == null && (((etm & E_TransUI.ProcCur) == E_TransUI.ProcCur) || ((etm & E_TransUI.ProcMenu) == E_TransUI.ProcMenu)))
|
||||
{
|
||||
@ -779,7 +779,7 @@ namespace Volian.Controls.Library
|
||||
MessageBox.Show("Must select an item for transition 'to'");
|
||||
return;
|
||||
}
|
||||
linktxt = string.Format("#Link:Transition: {0} xx {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
linktxt = string.Format("#Link:Transition:{0} <NewID> {1}", listBoxTranFmt.SelectedIndex, _tranitem1.ItemID);
|
||||
}
|
||||
_MyRTB.InsertTran(trantxt, linktxt);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user