--- a/eric7/MicroPython/UnknownDevicesDialog.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/MicroPython/UnknownDevicesDialog.py Sat May 22 18:51:46 2021 +0200 @@ -11,7 +11,7 @@ from PyQt6.QtGui import QDesktopServices from PyQt6.QtWidgets import QDialog, QListWidgetItem -from E5Gui import E5MessageBox +from E5Gui import EricMessageBox from .Ui_UnknownDevicesDialog import Ui_UnknownDevicesDialog @@ -150,7 +150,7 @@ for itm in self.deviceList.selectedItems(): unsaved |= itm.data(self.ModifiedRole) if unsaved: - ok = E5MessageBox.yesNo( + ok = EricMessageBox.yesNo( self, self.tr("Delete Unknown Devices"), self.tr("The selected entries contain some with modified" @@ -168,7 +168,7 @@ Private slot to delete all devices. """ if self.__isDirty(): - ok = E5MessageBox.yesNo( + ok = EricMessageBox.yesNo( self, self.tr("Delete Unknown Devices"), self.tr("The list contains some devices with modified" @@ -184,7 +184,7 @@ Private slot to restore the list of unknown devices. """ if self.__isDirty(): - ok = E5MessageBox.yesNo( + ok = EricMessageBox.yesNo( self, self.tr("Restore Unknown Devices"), self.tr("Restoring the list of unknown devices will overwrite" @@ -247,7 +247,7 @@ Private slot handling the cancellation of the dialog. """ if self.__isDirty(): - ok = E5MessageBox.okToClearData( + ok = EricMessageBox.okToClearData( self, self.tr("Unsaved Data"), self.tr("""The list of devices contains some with modified"""