Skip to content

Commit

Permalink
Fixing upper case
Browse files Browse the repository at this point in the history
  • Loading branch information
IsakNaslundBh authored and Fraser Greenroyd committed Sep 16, 2021
1 parent 251f1d4 commit b8214ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BHoM_UI/Components/oM/CreateData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ protected override void SetComponentDetails()
Choices = BH.Engine.Library.Query.Library(FileName).ToList<object>();
Name = FileName.Split(new char[] { '\\' }).Last();
Description = BH.Engine.Library.Query.SourceAndDisclaimer(FileName);
if (m_menu != null)
AddSourceLinkToMenu(m_menu as dynamic);
if (m_Menu != null)
AddSourceLinkToMenu(m_Menu as dynamic);
}
}

Expand All @@ -108,7 +108,7 @@ public override List<string> GetChoiceNames()
public override void AddToMenu(object menu)
{
base.AddToMenu(menu);
m_menu = menu; //Store the menu to be able to add source link in case of presistent menu
m_Menu = menu; //Store the menu to be able to add source link in case of presistent menu
AddSourceLinkToMenu(menu as dynamic); //Try add link now for volatile menu
}

Expand Down Expand Up @@ -161,7 +161,7 @@ private void AddSourceLinkToMenu(object menu)
/**** Private fields ****/
/*************************************/

private object m_menu = null;
private object m_Menu = null;

/*************************************/
}
Expand Down

0 comments on commit b8214ab

Please sign in to comment.