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
|
||||
/// </summary>
|
||||
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>
|
||||
/// Currently selected RichTextBox
|
||||
/// </summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user