SaveBackup::SaveBackup(MWindow *mwindow)
- : BC_MenuItem(_("Save backup"))
+ : BC_MenuItem(_("Save backup"), "b", 'b')
{
this->mwindow = mwindow;
}
// save it
// TODO: Move this into mwindow.
FileXML file;
- mwindow->edl->save_xml(&file,
- mwindow->session->filename,
- 0,
- 0);
+ mwindow->edl->save_xml(&file, mwindow->session->filename);
file.terminate_string();
if(file.write_to_file(mwindow->session->filename))
SaveAs::SaveAs(MWindow *mwindow)
: BC_MenuItem(_("Save as..."), "Shift-S", 'S'), Thread()
{
+ set_shift(1);
this->mwindow = mwindow;
quit_now = 0;
}
mwindow->gui->lock_window("SaveAs::run 1");
// update the project name
mwindow->set_filename(filename);
- mwindow->edl->save_xml(&file,
- filename,
- 0,
- 0);
+ mwindow->edl->save_xml(&file, filename);
mwindow->gui->unlock_window();
file.terminate_string();