change Split menu entry to say Split/Separate (it was already doing that anyway). also fix a bug so you can drag the playhead and split at the playhead location

This commit is contained in:
Ben Loftis 2015-01-08 16:00:36 -06:00
parent 5ab70b6822
commit f7e3d1be2c
5 changed files with 19 additions and 10 deletions

View file

@ -4638,7 +4638,13 @@ Editor::get_preferred_edit_position (bool ignore_playhead, bool from_context_men
switch (ep) {
case EditAtPlayhead:
where = _session->audible_frame();
if (_dragging_playhead) {
if (!mouse_frame (where, ignored)) {
/* XXX not right but what can we do ? */
return 0;
}
} else
where = _session->audible_frame();
DEBUG_TRACE (DEBUG::CutNPaste, string_compose ("GPEP: use playhead @ %1\n", where));
break;