fix Apply. It had not been tracking the correct item number.

This commit is contained in:
Tim Young 2017-09-19 14:59:52 -05:00
parent 5fd16be792
commit a5c9449dda
1 changed files with 3 additions and 2 deletions

View File

@ -405,8 +405,9 @@ namespace SpriteLibrary
} }
else else
{ {
SpriteInformation.Add(TempInformation.Clone()); SpriteInfo tSI = TempInformation.Clone();
CurrentSIIndex = SpriteInformation.IndexOf(TempInformation); SpriteInformation.Add(tSI);
CurrentSIIndex = SpriteInformation.IndexOf(tSI);
} }
UpdateMenu(); UpdateMenu();
} }