summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-09-01 20:42:01 +0200
committerCarl Hetherington <cth@carlh.net>2022-09-01 20:42:01 +0200
commit69326e73b29be371dacbdacd741a0a88a5ef1a5b (patch)
treee2766e3cf8eb2be0f0bdcb77bbbd7e52aff3229d /src/tools
parent09287979ce90e809880cd17fb20deb23669f68e4 (diff)
Fix two more badly-adapted instantiations of EditableList and make
it harder to make similar errors in the future.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_combiner.cc2
-rw-r--r--src/tools/dcpomatic_disk.cc2
-rw-r--r--src/tools/dcpomatic_editor.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_combiner.cc b/src/tools/dcpomatic_combiner.cc
index 5a6457d46..2ef58bb85 100644
--- a/src/tools/dcpomatic_combiner.cc
+++ b/src/tools/dcpomatic_combiner.cc
@@ -100,7 +100,7 @@ public:
boost::bind(&DOMFrame::inputs, this),
boost::bind(&DOMFrame::set_inputs, this, _1),
&display_string,
- true,
+ EditableListTitle::VISIBLE,
EditableListButton::NEW | EditableListButton::REMOVE
);
diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc
index a517dde65..115dabe46 100644
--- a/src/tools/dcpomatic_disk.cc
+++ b/src/tools/dcpomatic_disk.cc
@@ -135,7 +135,7 @@ public:
boost::bind(&DOMFrame::dcp_paths, this),
boost::bind(&DOMFrame::set_dcp_paths, this, _1),
[](boost::filesystem::path p, int) { return p.filename().string(); },
- false,
+ EditableListTitle::INVISIBLE,
EditableListButton::NEW | EditableListButton::REMOVE
);
diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc
index 075cf177f..6bb3c2785 100644
--- a/src/tools/dcpomatic_editor.cc
+++ b/src/tools/dcpomatic_editor.cc
@@ -221,7 +221,7 @@ public:
[](shared_ptr<dcp::Reel> reel, int) {
return reel->id();
},
- false,
+ EditableListTitle::INVISIBLE,
EditableListButton::EDIT
);
sizer->Add(_reels, wxGBPosition(r, 1), wxDefaultSpan, wxEXPAND);