From ce6642e9924c1421106bd604df9cdcd8ab452f1c Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Mon, 18 Mar 2024 13:24:52 +0100 Subject: [PATCH] Improve UI responsiveness Treat settings to check for errors one by one instead of by batch of 10, because this can take a few 100s of milliseconds, which makes the UI choppy and barely allows for user interactions CURA-11475 --- cura/Machines/MachineErrorChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Machines/MachineErrorChecker.py b/cura/Machines/MachineErrorChecker.py index cc6560378d..5edee0778f 100644 --- a/cura/Machines/MachineErrorChecker.py +++ b/cura/Machines/MachineErrorChecker.py @@ -49,7 +49,7 @@ class MachineErrorChecker(QObject): self._keys_to_check = set() # type: Set[str] - self._num_keys_to_check_per_update = 10 + self._num_keys_to_check_per_update = 1 def initialize(self) -> None: self._error_check_timer.timeout.connect(self._rescheduleCheck)