ClipEdit::~ClipEdit()
{
+ close_window();
}
// After the window is closed and deleted, this is called.
// For creating new clips, the original was copied in add_clip.
// For editing old clips, the original was transferred to another variable.
- if(!create_it) delete clip;
+ if(!create_it) clip->remove_user();
original = 0;
clip = 0;
create_it = 0;
ClipEditWindow::ClipEditWindow(MWindow *mwindow, ClipEdit *thread)
- : BC_Window(PROGRAM_NAME ": Clip Info",
+ : BC_Window(_(PROGRAM_NAME ": Clip Info"),
mwindow->gui->get_abs_cursor_x(1) - 400 / 2,
mwindow->gui->get_abs_cursor_y(1) - 350 / 2,
400,