فهرست منبع

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: