diff options
Diffstat (limited to 'src/wx/markers_panel.cc')
| -rw-r--r-- | src/wx/markers_panel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/markers_panel.cc b/src/wx/markers_panel.cc index 42a3ce8ae..dcd056318 100644 --- a/src/wx/markers_panel.cc +++ b/src/wx/markers_panel.cc @@ -67,7 +67,7 @@ MarkersPanel::MarkersPanel(wxWindow* parent, FilmViewer& viewer) Bind (wxEVT_MENU, boost::bind(&MarkersPanel::move_marker_to_current_position, this), ID_move_marker_to_current_position); Bind (wxEVT_MENU, boost::bind(&MarkersPanel::remove_marker, this), ID_remove_marker); - Bind (wxEVT_MENU, boost::bind(&MarkersPanel::add_marker, this, _1), ID_add_base, ID_add_base + all_editable_markers().size()); + Bind(wxEVT_MENU, boost::bind(&MarkersPanel::add_marker, this, _1), ID_add_base, ID_add_base + all_editable_markers().size() + uneditable_markers); } |
