소스 검색

Fix openNexImg at bottom

Kentaro Wada 6 년 전
부모
커밋
3c9af23038
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      labelme/app.py

+ 2 - 0
labelme/app.py

@@ -1044,6 +1044,8 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
             currIndex = self.imageList.index(self.filename)
             if currIndex + 1 < len(self.imageList):
                 filename = self.imageList[currIndex + 1]
+            else:
+                filename = self.imageList[-1]
         self.filename = filename
 
         if self.filename and load: