diff --git a/work/inquiry.py b/work/inquiry.py index e2b9450..6ece8e2 100644 --- a/work/inquiry.py +++ b/work/inquiry.py @@ -239,4 +239,4 @@ def update_addresslist(self, current, previous): model.appendRow([item_email]) self.main_window.addresslist.setModel(model) header = self.main_window.addresslist.horizontalHeader() - header.setSectionResizeMode(QHeaderView.Stretch) + header.setSectionResizeMode(QHeaderView.ResizeMode.Stretch)