From 2a712c03cffc4d29bb9a31d098d293bca84a47c0 Mon Sep 17 00:00:00 2001 From: niels Date: Sat, 6 Jun 2015 01:46:48 +0200 Subject: [PATCH] fix sample start/end position spin buttons in reloaded --- veejay-current/veejay-client/src/vj-api.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/veejay-current/veejay-client/src/vj-api.c b/veejay-current/veejay-client/src/vj-api.c index 1c1de072..8c8be865 100644 --- a/veejay-current/veejay-client/src/vj-api.c +++ b/veejay-current/veejay-client/src/vj-api.c @@ -2928,12 +2928,12 @@ static void update_current_slot(int *history, int pm, int last_pm) if( (history[SAMPLE_START] != info->status_tokens[SAMPLE_START] )) { - update_spin_value( "spin_samplestart", info->status_tokens[SAMPLE_START] ); + // update_spin_value( "spin_samplestart", info->status_tokens[SAMPLE_START] ); update = 1; } if( (history[SAMPLE_END] != info->status_tokens[SAMPLE_END] )) { - update_spin_value( "spin_sampleend", info->status_tokens[SAMPLE_END]); + // update_spin_value( "spin_sampleend", info->status_tokens[SAMPLE_END]); update = 1; } @@ -6183,10 +6183,6 @@ static void process_reload_hints(int *history, int pm) load_editlist_info(); reload_editlist_contents(); } - update_spin_range( - "spin_samplestart", 0, info->el.num_frames, info->status_tokens[SAMPLE_START] ); - update_spin_range( - "spin_sampleend", 0, info->el.num_frames , info->status_tokens[SAMPLE_END] ); if( info->uc.reload_hint[HINT_SLIST] ) {