summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-28 22:16:31 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-29 23:37:48 +0200
commit5c48efdde34ee11f135ea8b369d85d50d1410445 (patch)
treee331d95588304c34737ec31cda7e46bf94dd6f34 /src/tools
parentac371da34b3bdf2988b2936dec7dc095bf624c86 (diff)
Use explicit parameters to the EditableList constructor, and allow
arbitrary new/edit/remove button combinations to be used.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_combiner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_combiner.cc b/src/tools/dcpomatic_combiner.cc
index 4532b0429..5a6457d46 100644
--- a/src/tools/dcpomatic_combiner.cc
+++ b/src/tools/dcpomatic_combiner.cc
@@ -100,8 +100,8 @@ public:
boost::bind(&DOMFrame::inputs, this),
boost::bind(&DOMFrame::set_inputs, this, _1),
&display_string,
- false,
- true
+ true,
+ EditableListButton::NEW | EditableListButton::REMOVE
);
auto output = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);