summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-24 01:21:07 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-24 01:21:07 +0100
commitba26c992edf4578c529d40cc526eb31a55d11876 (patch)
treef964d2eba0e3667d62b5095ca7abf0b2c659d3ad
parent9cc6ae09a1ac7e1a9d2a41e4a08588984e771cc1 (diff)
Fix build of disk writer after EditableList changes.
-rw-r--r--src/tools/dcpomatic_disk.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc
index 6c8d1a0f6..3bf907715 100644
--- a/src/tools/dcpomatic_disk.cc
+++ b/src/tools/dcpomatic_disk.cc
@@ -134,11 +134,13 @@ public:
int r = 0;
add_label_to_sizer(grid, overall_panel, _("DCPs"), true, wxGBPosition(r, 0));
auto dcp_sizer = new wxBoxSizer(wxHORIZONTAL);
- auto dcps = new EditableList<boost::filesystem::path, DirDialogWrapper>(
+ auto dcps = new EditableList<boost::filesystem::path>(
overall_panel,
{ EditableListColumn(_("DCP"), 300, true) },
boost::bind(&DOMFrame::dcp_paths, this),
boost::bind(&DOMFrame::set_dcp_paths, this, _1),
+ EditableList<boost::filesystem::path>::add_with_dialog<DirDialogWrapper>,
+ EditableList<boost::filesystem::path>::edit_with_dialog<DirDialogWrapper>,
[](boost::filesystem::path p, int) { return p.filename().string(); },
EditableListTitle::INVISIBLE,
EditableListButton::NEW | EditableListButton::REMOVE