--- a/eric6/WebBrowser/Passwords/PasswordsDialog.py Wed Sep 25 18:48:22 2019 +0200 +++ b/eric6/WebBrowser/Passwords/PasswordsDialog.py Wed Sep 25 18:52:40 2019 +0200 @@ -64,8 +64,8 @@ """ fm = QFontMetrics(QFont()) for section in range(self.__passwordModel.columnCount()): - header = self.passwordsTable.horizontalHeader()\ - .sectionSizeHint(section) + header = self.passwordsTable.horizontalHeader().sectionSizeHint( + section) if section == 0: header = fm.width("averagebiglongsitename") elif section == 1: @@ -74,8 +74,8 @@ header = fm.width("averagelongpassword") buffer = fm.width("mm") header += buffer - self.passwordsTable.horizontalHeader()\ - .resizeSection(section, header) + self.passwordsTable.horizontalHeader().resizeSection( + section, header) self.passwordsTable.horizontalHeader().setStretchLastSection(True) @pyqtSlot()