Skip to content

Commit

Permalink
reset fx anim panel when switching entries in fx chain entry tree wid…
Browse files Browse the repository at this point in the history
…get, set hints to reload KF and ENTRY
  • Loading branch information
game-stop committed May 20, 2019
1 parent baf1df0 commit 23ed693
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion veejay-current/reloaded-gtk3/src/vj-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -3827,12 +3827,16 @@ gboolean view_entry_selection_func (GtkTreeSelection *selection,
if( !is_button_toggled( "fx_mnone" )) {
multi_vims( VIMS_CHAIN_FADE_ENTRY,"%d %d",0, name );
}

update_label_i( "label_fxentry", name, 0 );
vj_midi_learning_vims_msg( info->midi, NULL, VIMS_CHAIN_SET_ENTRY,name );

if( get_nums("button_fx_entry") != name ) {
info->status_lock = 1;
update_spin_value( "button_fx_entry", name );
update_spin_value( "button_fx_entry", name );
vj_kf_reset();
info->uc.reload_hint[HINT_KF] = 1;
info->uc.reload_hint[HINT_ENTRY] = 1;
info->status_lock = 0;
}

Expand Down

0 comments on commit 23ed693

Please sign in to comment.