Fixed ImageGridComponent

This commit is contained in:
Aloshi 2013-12-08 19:33:43 +00:00
parent a13ed11ead
commit 886bf7b00b

View file

@ -130,7 +130,7 @@ void ImageGridComponent<T>::remove(const T& obj)
{
if((*it).object == obj)
{
if(mCursor > 0 && it - mRowVector.begin() >= mCursor)
if(mCursor > 0 && it - mEntries.begin() >= mCursor)
{
mCursor--;
onCursorChanged(CURSOR_STOPPED);