Commit 6cecc616 authored by Bram Schoenmakers's avatar Bram Schoenmakers Committed by GitHub

Merge pull request #138 from mruwek/properly-unmark

Properly unmark items when resetting state
parents 0774ad55 d8fa2d83
...@@ -301,6 +301,8 @@ class UIApplication(CLIApplicationBase): ...@@ -301,6 +301,8 @@ class UIApplication(CLIApplicationBase):
self._output if verbosity else lambda _: None) self._output if verbosity else lambda _: None)
def _reset_state(self): def _reset_state(self):
for widget in TodoWidget.cache.values():
widget.unmark()
self.marked_todos = [] self.marked_todos = []
self._update_all_columns() self._update_all_columns()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment