projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ac8235
)
Fix sensitivity of add-ov option in the content menu.
author
Carl Hetherington
<cth@carlh.net>
Thu, 6 Oct 2016 09:41:00 +0000
(10:41 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Oct 2016 09:41:00 +0000
(10:41 +0100)
src/wx/content_menu.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_menu.cc
b/src/wx/content_menu.cc
index 8b41c7039943895d0aa0ad98a44a0e3214f30341..a96461c301643bda66464dff5b756b8b858c7e2b 100644
(file)
--- a/
src/wx/content_menu.cc
+++ b/
src/wx/content_menu.cc
@@
-127,6
+127,7
@@
ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList
shared_ptr<DCPContent> dcp = dynamic_pointer_cast<DCPContent> (_content.front ());
if (dcp) {
_kdm->Enable (dcp->encrypted ());
+ _ov->Enable (dcp->needs_assets ());
DCPExaminer ex (dcp);
list<shared_ptr<dcp::CPL> > cpls = ex.cpls ();
_choose_cpl->Enable (cpls.size() > 1);
@@
-144,6
+145,7
@@
ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList
}
} else {
_kdm->Enable (false);
+ _ov->Enable (false);
_choose_cpl->Enable (false);
}
} else {