瀏覽代碼

Update check state of the annotated image in saveLabels

Kentaro Wada 7 年之前
父節點
當前提交
d264431467
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      labelme/app.py

+ 4 - 0
labelme/app.py

@@ -787,6 +787,10 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
                 flags=flags,
             )
             self.labelFile = lf
+            item = self.fileListWidget.findItems(
+                self.imagePath, Qt.MatchExactly
+            )[0]
+            item.setCheckState(Qt.Checked)
             # disable allows next and previous image to proceed
             # self.filename = filename
             return True