diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-09-24 21:12:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-09-24 21:12:51 +0100 |
| commit | 05687b49ec37e896ed7e493a587a78cd236f3aa1 (patch) | |
| tree | 907521b57e99dc5241086e790c6b55553d481e47 /src/wx/kdm_dialog.cc | |
| parent | 84608d00576243f147ad12367633456729ffd1cb (diff) | |
KDM path fixes.
Diffstat (limited to 'src/wx/kdm_dialog.cc')
| -rw-r--r-- | src/wx/kdm_dialog.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
