mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Improve triggerNextCallback documentation
triggerNextCallback documentation: - Correct grammar - Shorten lines and improve layout
This commit is contained in:
parent
62d05f2350
commit
fe2b8ebaf7
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue