mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-17 06:41:48 +08:00
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
This commit is contained in:
parent
5a346e3ce6
commit
ce6642e992
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user