Skip to content

Commit

Permalink
Bugfix for defining abbreviations by @kuhanalog
Browse files Browse the repository at this point in the history
  • Loading branch information
guoci committed Jan 20, 2015
1 parent d7103c0 commit cf62d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/qtui/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, text):
self.setFlags(self.flags() | Qt.ItemFlags(Qt.ItemIsEditable))

def setData(self, role, value):
if value.toString() == "":
if value == "":
self.listWidget().itemChanged.emit(self)
else:
QListWidgetItem.setData(self, role, value)
Expand Down

0 comments on commit cf62d57

Please sign in to comment.