mirror of
https://github.com/Xevion/bulk-reminders.git
synced 2025-12-11 00:06:43 -06:00
Prepare loading of events from load dialog into main window
Add nicer label for counting events by type
This commit is contained in:
@@ -18,3 +18,8 @@ def save() -> None:
|
||||
|
||||
if os.path.exists('history.json'):
|
||||
load()
|
||||
|
||||
|
||||
def getTotal() -> int:
|
||||
"""Returns the total number of undoable events known."""
|
||||
return sum(len(stage) for stage in stages)
|
||||
|
||||
Reference in New Issue
Block a user