diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-06-16 21:15:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-06-16 21:15:26 +0200 |
| commit | 11778a3e9acb687a3cfe3af8358824ad7086218c (patch) | |
| tree | b9e4acf4b95e205fa8da8ced3e0ca2e96d2dd35f | |
| parent | 65895ac52ed072314080040f99978cdd77b5a5db (diff) | |
Fix crash when pressing Ctrl+T with no content (#2563).
| -rw-r--r-- | src/wx/content_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index d394d42e9..5fa935fac 100644 --- 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; } |
