eric6/Debugger/StartHistoryEditDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
--- 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)

eric ide

mercurial