mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 11:49:33 +01:00
triggerbox: call copy_to_ui_state() after audio|midi state is recalled
This commit is contained in:
parent
cd63f615e1
commit
00db64a4ed
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue