mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-02 10:49:19 +00:00
FIXED: process rotateImgAction after autoRecognition without any click on file list will raise A ERROR : array out of index
This commit is contained in:
parent
a519d4ddbd
commit
a32e7ce77e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user