Fix off by one
This commit is contained in:
parent
88dfea8ece
commit
bba8184d37
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ bool PictureToLoad::nextSet()
|
|||
|
||||
QString PictureToLoad::getSetName() const
|
||||
{
|
||||
if (setIndex < sortedSets.size() - 1)
|
||||
if (setIndex < sortedSets.size())
|
||||
return sortedSets[setIndex]->getCorrectedShortName();
|
||||
else
|
||||
return QString("");
|
||||
|
|
Loading…
Reference in a new issue