X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffull_config_dialog.cc;h=40cb0c2853dbdda295c3ab85c54f5b950dbcfe37;hb=69326e73b29be371dacbdacd741a0a88a5ef1a5b;hp=bcaa61a9bf7767f1dba2a9be5f6cdea6ff1e5f34;hpb=318b4e3e081f7c072fd75fbbd72b1ae3737f0da4;p=dcpomatic.git diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc index bcaa61a9b..40cb0c285 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 (); } @@ -633,7 +633,7 @@ private: boost::bind (&Config::servers, Config::instance()), boost::bind (&Config::set_servers, Config::instance(), _1), boost::bind (&EncodingServersPage::server_column, this, _1), - false, + EditableListTitle::INVISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); @@ -991,7 +991,7 @@ private: [] (string s, int) { return s; }, - true, + EditableListTitle::VISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); table->Add (_cc, 1, wxEXPAND | wxALL); @@ -1128,7 +1128,7 @@ private: [] (string s, int) { return s; }, - true, + EditableListTitle::VISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); table->Add (_cc, 1, wxEXPAND | wxALL);