Skip to content

Commit

Permalink
fix error AttributeError: 'module' object has no attribute 'QAbstract…
Browse files Browse the repository at this point in the history
…ItemView'
  • Loading branch information
wangpeng authored and wkentaro committed Dec 29, 2018
1 parent caa54a7 commit 037fb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelme/widgets/label_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, text="Enter object label", parent=None, labels=None,
self.labelList.sortItems()
else:
self.labelList.setDragDropMode(
QtGui.QAbstractItemView.InternalMove)
QtWidgets.QAbstractItemView.InternalMove)
self.labelList.currentItemChanged.connect(self.labelSelected)
self.edit.setListWidget(self.labelList)
layout.addWidget(self.labelList)
Expand Down

0 comments on commit 037fb69

Please sign in to comment.