Properly close items inside the item list, instead of just hiding them

This commit is contained in:
Micah Lee 2018-10-07 21:46:16 -07:00
parent 656784dfa9
commit bc8759bc77
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -347,7 +347,7 @@ class HistoryItemList(QtWidgets.QScrollArea):
""" """
for item in self.items.values(): for item in self.items.values():
self.items_layout.removeWidget(item) self.items_layout.removeWidget(item)
item.hide() item.close()
self.items = {} self.items = {}