X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdir_picker_ctrl.cc;h=fe4937edf5cc8002f24dfff543b188167723b516;hb=251cde8683a8c717dcd5356f5acd2624249ea402;hp=47a546a8d8782223a5d519067c95fed7605fa13e;hpb=16a7ea91e973b327735658857cbf996cc740be77;p=dcpomatic.git diff --git a/src/wx/dir_picker_ctrl.cc b/src/wx/dir_picker_ctrl.cc index 47a546a8d..fe4937edf 100644 --- a/src/wx/dir_picker_ctrl.cc +++ b/src/wx/dir_picker_ctrl.cc @@ -29,7 +29,6 @@ using namespace boost; DirPickerCtrl::DirPickerCtrl (wxWindow* parent) : wxPanel (parent) - , _parent (parent) { _sizer = new wxBoxSizer (wxHORIZONTAL); @@ -47,7 +46,7 @@ void DirPickerCtrl::SetPath (wxString p) { _path = p; - + if (_path == wxStandardPaths::Get().GetDocumentsDir()) { _folder->SetLabel (_("My Documents")); } else {