Changeset 467

Show
Ignore:
Timestamp:
01/11/07 01:05:58 (2 years ago)
Author:
radekk
Message:

Removing buss error at using marker tool when no time markers where defined on sample.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sweep/branches/sweep-info-panel/src/sample-display.c

    r464 r467  
    26112611 
    26122612  case TOOL_MARKER: 
    2613     s->view->sample->sounddata->marks =  
    2614             marks_resort(s->view->sample->sounddata->marks); 
     2613    if (s->view->sample->tmp_mark){ 
     2614            s->view->sample->sounddata->marks =  
     2615                    marks_resort(s->view->sample->sounddata->marks); 
    26152616     
    2616     perform_marker_finish_op (s->view->sample, s->view->sample->tmp_mark_inst); 
    2617  
    2618     info_panel_markers_info_update (s->view->sample); 
    2619  
    2620     s->view->sample->tmp_mark = NULL; 
    2621         s->view->sample->tmp_mark_inst = NULL; 
    2622  
     2617           perform_marker_finish_op (s->view->sample, s->view->sample->tmp_mark_inst); 
     2618 
     2619           info_panel_markers_info_update (s->view->sample); 
     2620 
     2621           s->view->sample->tmp_mark = NULL; 
     2622               s->view->sample->tmp_mark_inst = NULL; 
     2623    } 
    26232624    break; 
    26242625