void AssetEdit::handle_done_event(int result)
{
- if( !result ) {
+ if( !result && window->tc_hours_textbox ) {
changed_params->tcstart = ceil(indexable->get_frame_rate() *
(atoi(window->tc_hours_textbox->get_text()) * 3600 +
atoi(window->tc_minutes_textbox->get_text()) * 60 +
if(indexable->is_asset) {
asset = (Asset*)indexable;
- if( changed_params->equivalent(*asset, 1, 1, mwindow->edl) )
+ if( !changed_params->equivalent(*asset, 1, 1, mwindow->edl) )
changed = 1;
}
else {
}
mwindow->gui->unlock_window();
//printf("AssetEdit::handle_close_event %d\n", __LINE__);
+ mwindow->awindow->gui->update_picon(indexable);
mwindow->awindow->gui->async_update_assets();
mwindow->restart_brender();
lohi = 0;
allow_edits = 0;
detail_thread = 0;
+ tc_hours_textbox = 0;
+ tc_minutes_textbox = 0;
+ tc_seconds_textbox = 0;
+ tc_rest_textbox = 0;
+ win_width = 0;
+ win_height = 0;
}