Commit d47f9cdd authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Enable Apply button to change internal state

When simulating it is now possible to change the system internal state
(any DCL-declared variable). The undo and redo buttons are active to
restore any state.
parent e9d3a6e0
......@@ -272,6 +272,7 @@ class sdlHandler(QObject):
# Apply the change and create Undo command to restore previous state
old_state = self.current_hash
self.restore_global_state(new_hash)
self.current_hash = new_hash
undo_cmd = SendTC(self, old_state)
self.undo_stack.push(undo_cmd)
......
Supports Markdown
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