src/eric7/MicroPython/BluetoothDialogs/BluetoothController.py

branch
eric7
changeset 11005
b918c6c2736b
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
11004:5f8d929657b3 11005:b918c6c2736b
69 69
70 try: 70 try:
71 status = self.__mpy.getDevice().getBluetoothStatus() 71 status = self.__mpy.getDevice().getBluetoothStatus()
72 # status is a list of user labels and associated values 72 # status is a list of user labels and associated values
73 73
74 dlg = BluetoothStatusDialog(status, self.__mpy) 74 dlg = BluetoothStatusDialog(status, parent=self.__mpy)
75 dlg.exec() 75 dlg.exec()
76 except Exception as exc: 76 except Exception as exc:
77 self.__mpy.showError("getBluetoothStatus()", str(exc)) 77 self.__mpy.showError("getBluetoothStatus()", str(exc))
78 78
79 @pyqtSlot() 79 @pyqtSlot()

eric ide

mercurial