projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix crash when pressing Ctrl+T with no content (#2563).
[dcpomatic.git]
/
src
/
wx
/
content_panel.cc
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index d394d42e926851bf120ad41fde46f8b9f8338ac5..5fa935fac3708b4052de4d6516565402007a21ab 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-714,7
+714,7
@@
ContentPanel::remove_clicked (bool hotkey)
void
ContentPanel::timeline_clicked ()
{
- if (!_film) {
+ if (!_film
|| _film->content().empty()
) {
return;
}