Prepare loading of events from load dialog into main window

Add nicer label for counting events by type
This commit is contained in:
Xevion
2021-08-25 07:13:24 -05:00
parent 0d6909a9b1
commit ce3759bd60
5 changed files with 57 additions and 12 deletions

View File

@@ -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)