projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6654f02
)
Fix could-not-load-film error when loading a project with a missing subtitle file.
author
Carl Hetherington
<cth@carlh.net>
Fri, 6 Jul 2018 19:49:33 +0000
(20:49 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 6 Jul 2018 19:49:33 +0000
(20:49 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 1680e5926b2a8d36e223401391199e43eee2c93b..4adeb90a4e610b096b22112be778f68da1c52fe3 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-258,7
+258,7
@@
ContentPanel::selection_changed ()
BOOST_FOREACH (shared_ptr<Content> i, selected ()) {
DCPTime p;
p = i->position();
- if (dynamic_pointer_cast<TextSubtitleContent>(i)) {
+ if (dynamic_pointer_cast<TextSubtitleContent>(i)
&& i->paths_valid()
) {
/* Rather special case; if we select a text subtitle file jump to its
first subtitle.
*/