We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a641c commit a51640bCopy full SHA for a51640b
src/classes/updates.py
@@ -192,6 +192,9 @@ def reset(self):
192
self.actionHistory.clear()
193
self.redoHistory.clear()
194
195
+ # Notify watchers of new history state
196
+ self.update_watchers()
197
+
198
def add_listener(self, listener, index=-1):
199
""" Add a new listener (which will invoke the changed(action) method each time an UpdateAction is available). """
200
@@ -343,3 +346,6 @@ def apply_last_action_to_history(self, previous_value):
343
346
if self.last_action:
344
347
self.last_action.set_old_values(previous_value)
345
348
self.actionHistory.append(self.last_action)
349
350
351
0 commit comments