Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitalfrost <gerald.hofmaier@gmail.com>2022-08-20 20:22:28 +0300
committerdigitalfrost <gerald.hofmaier@gmail.com>2022-08-20 20:22:28 +0300
commitfe2b8ebaf78474eaabd9f96f059c4b803a0d4240 (patch)
tree5f73b3a307b4c171d156ebfedc8e65b46e9f72d9 /cura/TaskManagement
parent62d05f235018a0346b4bfbe5c89aea5d2b89c782 (diff)
Improve triggerNextCallback documentation
triggerNextCallback documentation: - Correct grammar - Shorten lines and improve layout
Diffstat (limited to 'cura/TaskManagement')
-rw-r--r--cura/TaskManagement/OnExitCallbackManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cura/TaskManagement/OnExitCallbackManager.py b/cura/TaskManagement/OnExitCallbackManager.py
index a943d6321e..b743cb0d21 100644
--- a/cura/TaskManagement/OnExitCallbackManager.py
+++ b/cura/TaskManagement/OnExitCallbackManager.py
@@ -38,8 +38,10 @@ class OnExitCallbackManager:
def getIsAllChecksPassed(self) -> bool:
return self._is_all_checks_passed
- # Trigger the next callback if available. If not, it means that all callbacks have "passed", which means we should
- # not block the application to quit, and it will call the application to actually quit.
+ # Trigger the next callback if there is one.
+ # If not, all callbacks have "passed",
+ # which means we should not prevent the application from quitting,
+ # and we call the application to actually quit.
def triggerNextCallback(self) -> None:
# Get the next callback and schedule that if
this_callback = None