--- a/src/eric7/MicroPython/EthernetDialogs/EthernetStatusDialog.py Tue May 06 11:07:12 2025 +0200 +++ b/src/eric7/MicroPython/EthernetDialogs/EthernetStatusDialog.py Tue May 06 11:08:30 2025 +0200 @@ -11,6 +11,7 @@ from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem from eric7.EricGui import EricPixmapCache +from eric7.EricGui.EricOverrideCursor import EricOverrideCursor from eric7.SystemUtilities.NetworkUtilities import ipv6AddressScope from .Ui_EthernetStatusDialog import Ui_EthernetStatusDialog @@ -41,6 +42,13 @@ self.__mpy = microPython + @pyqtSlot() + def show(self): + """ + Public slot to show the dialog and populate the status. + """ + super().show() + self.__showStatus() @pyqtSlot() @@ -52,11 +60,12 @@ self.statusTree.clear() # get the status - try: - status, addressInfo = self.__mpy.getDevice().getEthernetStatus() - except Exception as exc: - self.__mpy.showError("getEthernetStatus()", str(exc)) - return + with EricOverrideCursor(): + try: + status, addressInfo = self.__mpy.getDevice().getEthernetStatus() + except Exception as exc: + self.__mpy.showError("getEthernetStatus()", str(exc)) + return for topic, value in status: QTreeWidgetItem(self.statusTree, [topic, str(value)])