projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f1a0d
)
Fix problems when adding the same content to a playback playlist twice.
author
Carl Hetherington
<cth@carlh.net>
Wed, 7 Nov 2018 00:28:29 +0000
(
00:28
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 7 Nov 2018 00:28:29 +0000
(
00:28
+0000)
src/wx/controls.cc
patch
|
blob
|
history
diff --git
a/src/wx/controls.cc
b/src/wx/controls.cc
index 8b2a17b09a5aa5f23ac757acd61fd52d592b0350..f7573c28bb01c8522dae32f9da83b420667fe7ae 100644
(file)
--- a/
src/wx/controls.cc
+++ b/
src/wx/controls.cc
@@
-214,7
+214,7
@@
Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor
void
Controls::add_clicked ()
{
- shared_ptr<Content> sel = selected_content
();
+ shared_ptr<Content> sel = selected_content
()->clone
();
DCPOMATIC_ASSERT (sel);
_film->examine_and_add_content (sel);
bool const ok = display_progress (_("DCP-o-matic"), _("Loading DCP"));