From 9c0977262c0484fab9f746dfceb1c03b6b13eb50 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 f9104ad..128c634 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)]