Fix a type mismatch error in lubuntu-notifier.py
This commit is contained in:
parent
366d4ad7ac
commit
7b0c65e522
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
lubuntu-update-notifier (0.5.1~22.04.3) jammy; urgency=medium
|
||||
|
||||
* Don't try to pass a string to QTreeWidgetItem when it expects an
|
||||
Iterable[str]. (LP: #2012823)
|
||||
|
||||
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Sun, 26 Mar 2023 12:21:33 -0500
|
||||
|
||||
lubuntu-update-notifier (0.5.1~22.04.2) jammy; urgency=medium
|
||||
|
||||
* SRU backport of 0.5.1 to the Jammy stable release.
|
||||
|
@ -129,7 +129,7 @@ class Dialog(QWidget):
|
||||
if len(pkg_delete) > 0:
|
||||
toDelete = QTreeWidgetItem([_('Remove')])
|
||||
for p in pkg_delete:
|
||||
td_child = QTreeWidgetItem(p.name)
|
||||
td_child = QTreeWidgetItem([p.name])
|
||||
toDelete.addChild(td_child)
|
||||
toDelete.setIcon(0, QIcon.fromTheme("edit-delete"))
|
||||
self.tw.addTopLevelItem(toDelete)
|
||||
|
Loading…
x
Reference in New Issue
Block a user