diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-12 01:01:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-12 01:24:06 +0100 |
| commit | 5b002572f0fa3773ec52621f6b232caac491f8c4 (patch) | |
| tree | 6dbbaf3d0476bdb451ed6f9724b09afdbc3f0466 /src | |
| parent | 9ab6865fe2a9d50a7e2c63403464588515e63cf6 (diff) | |
Don't offer auto-crop on content with no video.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_menu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 85661e41d..87598c9e8 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -169,7 +169,7 @@ ContentMenu::popup(weak_ptr<Film> film, ContentList c, TimelineContentViewList v _advanced->Enable(_content.size() == 1); _re_examine->Enable(!_content.empty()); _verify->Enable(dcp_count == 1); - _auto_crop->Enable(_content.size() == 1); + _auto_crop->Enable(_content.size() == 1 && _content[0]->video && _content[0]->video->use()); _copy_settings->Enable(_content.size() == 1); if (_content.size() == 1) { |
