projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e890b51
)
Fix error on loading projects with missing text subtitle files.
author
Carl Hetherington
<cth@carlh.net>
Sat, 8 Sep 2018 23:10:00 +0000
(
00:10
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 8 Sep 2018 23:10:00 +0000
(
00:10
+0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 6bcffd37772ecf44d724200ca1ee86514f16c73d..127dba7faf40f987292528bdddfd0b81aed20821 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.
*/