Skip to content

Commit

Permalink
Clear label list
Browse files Browse the repository at this point in the history
  • Loading branch information
narumiruna authored and wkentaro committed Feb 25, 2019
1 parent 5dee7f4 commit cd665aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions labelme/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,8 @@ def deleteFile(self):
item = self.fileListWidget.currentItem()
item.setCheckState(Qt.Unchecked)

self.labelList.clear()

# Message Dialogs. #
def hasLabels(self):
if not self.labelList.itemsToShapes:
Expand Down

0 comments on commit cd665aa

Please sign in to comment.