src/eric7/MicroPython/MicroPythonWidget.py

branch
eric7
changeset 10151
6ab011d1f866
parent 10144
45a9177c8e77
child 10173
9c64ac720853
equal deleted inserted replaced
10150:c7e9d99ad775 10151:6ab011d1f866
967 """ 967 """
968 Private slot to populate the Super Menu before showing it. 968 Private slot to populate the Super Menu before showing it.
969 """ 969 """
970 self.__superMenu.clear() 970 self.__superMenu.clear()
971 971
972 if self.__device and not self.__device.hasCircuitPython(): 972 if (
973 self.__device
974 and self.__linkConnected
975 and not self.__device.hasCircuitPython()
976 ):
973 networkConnected = self.__device.isNetworkConnected() 977 networkConnected = self.__device.isNetworkConnected()
974 useLocalMip = ( 978 useLocalMip = (
975 ( 979 (
976 self.__device.getDeviceData("mip") 980 self.__device.getDeviceData("mip")
977 or self.__device.getDeviceData("upip") 981 or self.__device.getDeviceData("upip")

eric ide

mercurial