浏览代码

Clear label list

なるみ 6 年之前
父节点
当前提交
cd665aacc1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      labelme/app.py

+ 2 - 0
labelme/app.py

@@ -1442,6 +1442,8 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
                 item = self.fileListWidget.currentItem()
                 item.setCheckState(Qt.Unchecked)
 
+                self.labelList.clear()
+
     # Message Dialogs. #
     def hasLabels(self):
         if not self.labelList.itemsToShapes: