triggerbox: call copy_to_ui_state() after audio|midi state is recalled
This commit is contained in:
parent
2821ea7fc6
commit
2dd078aabe
@ -575,8 +575,6 @@ Trigger::set_state (const XMLNode& node, int version)
|
||||
node.get_property (X_("index"), _index);
|
||||
set_values (node);
|
||||
|
||||
copy_to_ui_state ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1284,6 +1282,9 @@ AudioTrigger::set_state (const XMLNode& node, int version)
|
||||
node.get_property (X_("start"), t);
|
||||
_start_offset = t.samples();
|
||||
|
||||
/* we've changed our internal values; we need to update our queued UIState or they will be lost when UIState is applied */
|
||||
copy_to_ui_state ();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user