--- a/eric6/Network/IRC/IrcChannelWidget.py Mon Mar 01 17:48:43 2021 +0100 +++ b/eric6/Network/IRC/IrcChannelWidget.py Tue Mar 02 17:17:09 2021 +0100 @@ -1320,7 +1320,7 @@ txt = txt.replace(self.__markerLine, "") self.messages.setHtml(txt) self.__markerLine = "" - self.messages.moveCursor(QTextCursor.End) + self.messages.moveCursor(QTextCursor.MoveOperation.End) def __clearMessages(self): """ @@ -2036,7 +2036,7 @@ self, self.tr("Edit Channel Topic"), self.tr("Enter the topic for this channel:"), - QLineEdit.Normal, + QLineEdit.EchoMode.Normal, self.topicLabel.text()) if ok and topic != "": self.sendData.emit("TOPIC {0} :{1}".format(