From 1269c28d0a14d53a1a2630666b5f9ac8b9241020 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 12 Jul 2021 18:46:54 +0200 Subject: [PATCH] Reduce wait time before sending query Most people should be able to type 5 characters per second. And those that can't will just have to see it refresh after every stroke. Contributes to issue CURA-8009. --- plugins/DigitalLibrary/src/DigitalFactoryController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DigitalLibrary/src/DigitalFactoryController.py b/plugins/DigitalLibrary/src/DigitalFactoryController.py index 80f4d37f66..796937a9d9 100644 --- a/plugins/DigitalLibrary/src/DigitalFactoryController.py +++ b/plugins/DigitalLibrary/src/DigitalFactoryController.py @@ -120,7 +120,7 @@ class DigitalFactoryController(QObject): self._project_creation_error_text = "Something went wrong while creating a new project. Please try again." self._project_filter = "" self._project_filter_change_timer = QTimer() - self._project_filter_change_timer.setInterval(1000) + self._project_filter_change_timer.setInterval(200) self._project_filter_change_timer.setSingleShot(True) self._project_filter_change_timer.timeout.connect(self._applyProjectFilter)