);
boost::filesystem::path out = directory;
- out /= tidy_for_filename ((*i)->cinema->name) + "_" + tidy_for_filename ((*i)->name);
- out /= "kdm.xml";
+ out /= tidy_for_filename ((*i)->cinema->name) + "_" + tidy_for_filename ((*i)->name) + ".kdm.xml";
kdm->write_to_file_formatted (out.string());
}
}
#include <wx/treectrl.h>
#include <wx/datectrl.h>
#include <wx/timectrl.h>
+#include <wx/stdpaths.h>
#include "lib/cinema.h"
#include "lib/config.h"
#include "kdm_dialog.h"
_folder = new wxDirPickerCtrl (this, wxID_ANY);
#endif
+ _folder->SetPath (wxStandardPaths::Get().GetDocumentsDir());
+
table->Add (_folder, 1, wxEXPAND);
vertical->Add (table, 0, wxEXPAND | wxALL, 6);