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") |