--- a/eric6/Debugger/StartHistoryEditDialog.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Debugger/StartHistoryEditDialog.py Tue Mar 02 17:17:09 2021 +0100 @@ -34,7 +34,7 @@ self.historyList.addItems(history) for row in range(self.historyList.count()): itm = self.historyList.item(row) - flags = itm.flags() | Qt.ItemIsEditable + flags = itm.flags() | Qt.ItemFlag.ItemIsEditable itm.setFlags(flags) self.__updateEditButtons() @@ -65,7 +65,7 @@ self, self.tr("Edit History Entry"), self.tr("Enter the new text:"), - QLineEdit.Normal, + QLineEdit.EchoMode.Normal, itm.text()) if ok: itm.setText(historyText)