projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b94500
)
Fix error when exporting the cinemas file with overwrite.
author
Carl Hetherington
<cth@carlh.net>
Tue, 30 Aug 2022 20:58:36 +0000
(22:58 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 30 Aug 2022 20:58:36 +0000
(22:58 +0200)
src/wx/full_config_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/full_config_dialog.cc
b/src/wx/full_config_dialog.cc
index bcaa61a9bf7767f1dba2a9be5f6cdea6ff1e5f34..0f99d85d806d917ee51d5e29ad89f25367292fc8 100644
(file)
--- 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 ();
}