diff --git a/PPOCRLabel/PPOCRLabel.py b/PPOCRLabel/PPOCRLabel.py index e3ecc1af00a419f0ba62ff145a4716e1cc29a22a..80a2c82bccf5af19d76cad7026e2c6fe60bcdf4c 100644 --- a/PPOCRLabel/PPOCRLabel.py +++ b/PPOCRLabel/PPOCRLabel.py @@ -1922,7 +1922,7 @@ class MainWindow(QMainWindow, WindowMixin): uncheckedList = [i for i in self.mImgList if i not in self.fileStatedict.keys()] self.autoDialog = AutoDialog(parent=self, ocr=self.ocr, mImgList=uncheckedList, lenbar=len(uncheckedList)) self.autoDialog.popUp() - self.currIndex=len(self.mImgList) + self.currIndex = len(self.mImgList) - 1 self.loadFile(self.filePath) # ADD self.haveAutoReced = True self.AutoRecognition.setEnabled(False)