diff --git a/src/lib/qtui/dialogs.py b/src/lib/qtui/dialogs.py index 2cac1eeb..59cdfcd9 100644 --- a/src/lib/qtui/dialogs.py +++ b/src/lib/qtui/dialogs.py @@ -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)