From fe2b8ebaf78474eaabd9f96f059c4b803a0d4240 Mon Sep 17 00:00:00 2001 From: digitalfrost Date: Sat, 20 Aug 2022 19:22:28 +0200 Subject: [PATCH] Improve triggerNextCallback documentation triggerNextCallback documentation: - Correct grammar - Shorten lines and improve layout --- cura/TaskManagement/OnExitCallbackManager.py | 6 ++++-- 1 file 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