This commit is contained in:
parent
f44e6162ec
commit
eee3f31a67
@ -26,6 +26,12 @@ namespace Volian.Controls.Library
|
|||||||
/// Lookup Table to convert ItemInfo.ItemID to StepItem
|
/// Lookup Table to convert ItemInfo.ItemID to StepItem
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal Dictionary<int, StepItem> _LookupStepItems;
|
internal Dictionary<int, StepItem> _LookupStepItems;
|
||||||
|
public StepItem FindItem(ItemInfo itemInfo)
|
||||||
|
{
|
||||||
|
if (itemInfo == null) return null;
|
||||||
|
if (!_LookupStepItems.ContainsKey(itemInfo.ItemID)) return null;
|
||||||
|
return _LookupStepItems[itemInfo.ItemID];
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Currently selected RichTextBox
|
/// Currently selected RichTextBox
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user