diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-01 12:28:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-01 12:28:39 +0100 |
| commit | a3a0e7a567b73dac9ba29a1ab28e58757cc21411 (patch) | |
| tree | 5432bef00c1a2a327292773df6ec0a89ab1dedb1 /src | |
| parent | 52bb9a6160652104e30ec54032b6c244192a487e (diff) | |
Fix error when opening the right-click content menu.
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 78b6469a0..700683bd2 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -137,7 +137,7 @@ ContentMenu::popup (weak_ptr<Film> film, ContentList c, TimelineContentViewList _views = v; int const N = _cpl_menu->GetMenuItemCount(); - for (int i = 1; i <= N; ++i) { + for (int i = DCPOMATIC_CPL_MENU; i < DCPOMATIC_CPL_MENU + N; ++i) { _cpl_menu->Delete (i); } |
