src/eric7/MicroPython/WifiDialogs/WifiController.py

branch
mpy_network
changeset 9878
a82014a9e57b
parent 9875
b4512fbcf567
child 9886
1a4f05b0dc00
equal deleted inserted replaced
9877:dad1f6d37366 9878:a82014a9e57b
366 None, 366 None,
367 self.tr("Deactivate WiFi Interface"), 367 self.tr("Deactivate WiFi Interface"),
368 msg, 368 msg,
369 ) 369 )
370 370
371 @pyqtSlot()
371 def __setNetworkTime(self): 372 def __setNetworkTime(self):
372 """ 373 """
373 Private method to synchronize the device clock to network time. 374 Private slot to synchronize the device clock to network time.
374 """ 375 """
375 from ..NtpParametersDialog import NtpParametersDialog 376 from ..NtpParametersDialog import NtpParametersDialog
376 377
377 device = self.__mpy.getDevice() 378 device = self.__mpy.getDevice()
378 if not device.getDeviceData("ntp"): 379 if not device.getDeviceData("ntp"):

eric ide

mercurial