projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65895ac
)
Fix crash when pressing Ctrl+T with no content (#2563).
author
Carl Hetherington
<cth@carlh.net>
Fri, 16 Jun 2023 19:15:26 +0000
(21:15 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 16 Jun 2023 19:15:26 +0000
(21:15 +0200)
src/wx/content_panel.cc
patch
|
blob
|
history
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;
}