delete state_tree;
+ /* reset dynamic state version back to default */
+
+ Stateful::loading_state_version = 0;
+
terminate_butler_thread ();
//terminate_midi_thread ();
/* existing state for Click */
- if (_click_io->set_state (*child->children().front()) == 0) {
+ if (_click_io->set_state (*child->children().front(), Stateful::loading_state_version) == 0) {
_clicking = Config->get_clicking ();