X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fsavefile.C;h=fc757cecd085601ecf013516287d5ea7c161ccb5;hb=214bd0ba9e21635e03d0c0e2b2ae1a7e9170583c;hp=8b3bc74a9a062552e05969ba48289ef4476752dd;hpb=9d832a1fff11b11aaa1108c460690ed05e2bdc05;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/savefile.C b/cinelerra-5.1/cinelerra/savefile.C index 8b3bc74a..fc757cec 100644 --- a/cinelerra-5.1/cinelerra/savefile.C +++ b/cinelerra-5.1/cinelerra/savefile.C @@ -89,10 +89,7 @@ int Save::handle_event() // 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)) @@ -132,6 +129,7 @@ int Save::save_before_quit() SaveAs::SaveAs(MWindow *mwindow) : BC_MenuItem(_("Save as..."), "Shift-S", 'S'), Thread() { + set_shift(1); this->mwindow = mwindow; quit_now = 0; } @@ -194,10 +192,7 @@ void SaveAs::run() 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();