Explorar o código

Clear label list

なるみ %!s(int64=6) %!d(string=hai) anos
pai
achega
cd665aacc1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: