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

opengeode-simulator: update state at initialization

parent 8f8f7eda
......@@ -411,10 +411,10 @@ class sdlHandler(QObject):
self.get_sdl_state.restype = ctypes.c_char_p
# Initialization: set current state and internal variables
self.current_sdl_state = u''
self.check_state()
self.init_timers()
# Call the start transition of the SDL model
getattr(value, '{}_startup'.format(self.proc.processName))()
self.check_state()
self.init_state = self.current_hash = self.on_event()
def load_properties(self, prop_file=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