X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffull_config_dialog.cc;h=96a4c86e9b00d164578a799a8290704f808bc1db;hb=bb911c462ab6e04d399bfc68c2d331b0d4e9ef97;hp=bb4f43bea667c12b7a42fad3b3d55fe66d81b7c7;hpb=33a2c1355cc52372565835638bea0dab1e3f85a1;p=dcpomatic.git diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index bb4f43bea..96a4c86e9 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -196,7 +196,7 @@ private: ); if (d->ShowModal () == wxID_OK) { - boost::filesystem::copy_file (Config::instance()->cinemas_file(), path_from_file_dialog (d, "xml")); + boost::filesystem::copy_file (Config::instance()->cinemas_file(), wx_to_std(d->GetPath())); } d->Destroy (); }