From 6829a1c1b3c577cdd6bc6d206dd52608b0a976ab Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Oct 2018 20:18:27 +0100 Subject: Revert overwrite changes; remove our replacement of file extension (#1383). --- src/wx/full_config_dialog.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/wx/full_config_dialog.cc') 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 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 (); } -- cgit v1.2.3