diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-10-17 20:18:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-10-17 20:18:27 +0100 |
| commit | 6829a1c1b3c577cdd6bc6d206dd52608b0a976ab (patch) | |
| tree | c7375aa4ec8c7a61b0a1f9d0e2d818d7d6971d1c /src/wx/full_config_dialog.cc | |
| parent | 08d14b3aac137152a3aeb58c170b1b69bd0dd9eb (diff) | |
Revert overwrite changes; remove our replacement of file extension (#1383).v2.13.62
Diffstat (limited to 'src/wx/full_config_dialog.cc')
| -rw-r--r-- | src/wx/full_config_dialog.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index 974635a8b..96a4c86e9 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -196,10 +196,7 @@ private: ); if (d->ShowModal () == wxID_OK) { - optional<boost::filesystem::path> path = path_from_file_dialog (d, "xml"); - if (path) { - boost::filesystem::copy_file (Config::instance()->cinemas_file(), *path); - } + boost::filesystem::copy_file (Config::instance()->cinemas_file(), wx_to_std(d->GetPath())); } d->Destroy (); } |
