Add back the parent

This commit is contained in:
atse 2024-07-08 12:34:13 +08:00
parent 017206bd34
commit 9c0977262c

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