#include "edits.h"
#include "edl.h"
#include "edlsession.h"
-#include "errorbox.h"
#include "file.h"
#include "filesystem.h"
#include "filexml.h"
#include "language.h"
#include "localsession.h"
+#include "mainerror.h"
#include "mainsession.h"
#include "mutex.h"
#include "mwindowgui.h"
{
FILE *fh;
fh = fopen(path, "w+");
+ if( !fh ) {
+ eprintf("unable to open file: %s", path);
+ return;
+ }
// We currently only support exporting one track at a time
// Find the track...
void ExportEDLWindow::create_objects()
{
+ lock_window("ExportEDLWindow::create_objects");
int x = 5, y = 5;
add_subwindow(new BC_Title(x, y,
_("Select a file to export to:")));
add_subwindow(new BC_OKButton(this));
add_subwindow(new BC_CancelButton(this));
show_window();
+ unlock_window();
}