mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed ImageGridComponent
This commit is contained in:
parent
a13ed11ead
commit
886bf7b00b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue