Fix B2013-125: crash when adding SHE procedures

Modify 'AND' range transition to actual selection of user
This commit is contained in:
2013-06-27 12:51:55 +00:00
parent f77ebed326
commit 45fdbc4fe3
3 changed files with 16 additions and 32 deletions

View File

@@ -50,11 +50,12 @@ namespace Volian.Controls.Library
private void FillInControls()
{
_Initializing = true;
// for this iteminfo, get the procedure and then the list of sections. For any section, starting with
// Foldout, add it to list:
if (MyItemInfo != null)
{
if (MyItemInfo.MyProcedure.Sections == null || MyItemInfo.MyProcedure.Sections.Count == 0) return;
_Initializing = true;
ProcedureInfo pi = MyItemInfo.MyProcedure;
listBoxFoldouts.Items.Clear();
lstCBSteps.Items.Clear();