diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-08-30 22:58:36 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-08-30 22:58:36 +0200 |
| commit | 8a2eeb8c00db2809b8b3fa848d628cf0cd7cb411 (patch) | |
| tree | 3258b3cc0d7428e0e511da932573c4df9fee59c5 | |
| parent | 6b9450088fc7dc119476f72b2faaee1ed417db53 (diff) | |
Fix error when exporting the cinemas file with overwrite.
| -rw-r--r-- | src/wx/full_config_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index bcaa61a9b..0f99d85d8 100644 --- a/src/wx/full_config_dialog.cc +++ b/src/wx/full_config_dialog.cc @@ -173,7 +173,7 @@ private: ); if (d->ShowModal () == wxID_OK) { - boost::filesystem::copy_file (Config::instance()->cinemas_file(), wx_to_std(d->GetPath())); + boost::filesystem::copy_file(Config::instance()->cinemas_file(), wx_to_std(d->GetPath()), boost::filesystem::copy_option::overwrite_if_exists); } d->Destroy (); } |
