call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview *might* be set

This commit is contained in:
Paul Davis 2014-07-08 21:37:49 -04:00
parent 05bca82117
commit d99b6f0662

View file

@ -40,6 +40,7 @@
#include "ardour/region_factory.h"
#include "ardour/session.h"
#include "canvas/canvas.h"
#include "canvas/scroll_group.h"
#include "editor.h"
@ -5474,8 +5475,10 @@ RegionCutDrag::motion (GdkEvent*, bool)
void
RegionCutDrag::finished (GdkEvent*, bool)
{
framepos_t pos = _drags->current_pointer_frame();
_editor->get_track_canvas()->canvas()->re_enter();
framepos_t pos = _drags->current_pointer_frame();
line->hide ();
RegionSelection rs = _editor->get_regions_from_selection_and_mouse (pos);