diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/film.cc | 3 | ||||
| -rw-r--r-- | src/wx/kdm_dialog.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 708876151..07af46d97 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -961,8 +961,7 @@ Film::make_kdms ( ); 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()); } } diff --git a/src/wx/kdm_dialog.cc b/src/wx/kdm_dialog.cc index c8212636a..f2fc53711 100644 --- a/src/wx/kdm_dialog.cc +++ b/src/wx/kdm_dialog.cc @@ -20,6 +20,7 @@ #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" @@ -98,6 +99,8 @@ KDMDialog::KDMDialog (wxWindow* parent) _folder = new wxDirPickerCtrl (this, wxID_ANY); #endif + _folder->SetPath (wxStandardPaths::Get().GetDocumentsDir()); + table->Add (_folder, 1, wxEXPAND); vertical->Add (table, 0, wxEXPAND | wxALL, 6); |
