src/eric7/MicroPython/BluetoothDialogs/BluetoothController.py

branch
eric7
changeset 11005
b918c6c2736b
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r 5f8d929657b3 -r b918c6c2736b src/eric7/MicroPython/BluetoothDialogs/BluetoothController.py
--- a/src/eric7/MicroPython/BluetoothDialogs/BluetoothController.py	Fri Oct 25 08:42:57 2024 +0200
+++ b/src/eric7/MicroPython/BluetoothDialogs/BluetoothController.py	Fri Oct 25 09:47:48 2024 +0200
@@ -71,7 +71,7 @@
             status = self.__mpy.getDevice().getBluetoothStatus()
             # status is a list of user labels and associated values
 
-            dlg = BluetoothStatusDialog(status, self.__mpy)
+            dlg = BluetoothStatusDialog(status, parent=self.__mpy)
             dlg.exec()
         except Exception as exc:
             self.__mpy.showError("getBluetoothStatus()", str(exc))

eric ide

mercurial