Add back the parent

This commit is contained in:
atse 2024-07-08 12:34:13 +08:00
parent c3b59c2924
commit e2ea417737

View File

@ -5,7 +5,7 @@ from autotune import PIDAutotuneState, PIDAutotune
class PIDAutoTuner(QObject):
def __init__(self, parent, client, num_of_channel):
super().__init__()
super().__init__(parent)
self._client = client
self.autotuners = [PIDAutotune(25) for _ in range(num_of_channel)]