From 85f81ff379d8cad61f23ecfe41e168d0d0e10709 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 8 Jul 2024 12:34:13 +0800 Subject: [PATCH] Add back the parent --- pytec/pytec/gui/model/pid_autotuner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytec/pytec/gui/model/pid_autotuner.py b/pytec/pytec/gui/model/pid_autotuner.py index 2a0e08f..7701acc 100644 --- a/pytec/pytec/gui/model/pid_autotuner.py +++ b/pytec/pytec/gui/model/pid_autotuner.py @@ -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)]