B2012-377 Fixed null reference for transition to empty procedure set
This commit is contained in:
parent
6eb479b8fa
commit
c121a2fce1
@ -960,6 +960,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
else
|
||||
toItem = (ItemInfo)cbTranSects.SelectedItem; // didn't select a step.
|
||||
if (toItem != null) // this will be null if transition is to a an empty procedure set (sections but no steps)
|
||||
linktxt = string.Format("#Link:Transition:{0} <NewID> {1}", listBoxTranFmt.SelectedIndex, toItem.ItemID);
|
||||
}
|
||||
// toItem may have been set in the 'Range' selection code above.
|
||||
|
Loading…
x
Reference in New Issue
Block a user