Commit 43f4d84a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Complete the global state restoring function

When working with a dll, the API offers the possibility to return to a
previously stored global system state, enabling (infinite) undo
capability - yet to be implemented.
parent b449c81c
......@@ -188,8 +188,11 @@ class sdlHandler(QObject):
state_value = target_state[idx+1]
setter_state = getattr(self.dll, "_set_state")
print 'setting state back to', state_value
set_state = getattr(self.dll, "_set_state")
# todo string to cyptes, and call setter_state
def on_event(self, tc_name=None, param=None):
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