[Summary] Fixed bug 44828 Crash then using Click on Skip marker area to create/delete skip marker

This commit is contained in:
GZharun 2015-02-06 14:49:42 +02:00
parent 9c17e9110f
commit d10f698197

View file

@ -4577,7 +4577,7 @@ RangeMarkerBarDrag::motion (GdkEvent* event, bool first_move)
_drag_rect->raise_to_top();
}
if (start != end) {
if (start != end && first_move_occured() ) {
_editor->temp_location->set (start, end);
double x1 = _editor->sample_to_pixel (start);
@ -4602,7 +4602,7 @@ RangeMarkerBarDrag::finished (GdkEvent* event, bool movement_occurred)
int flags;
if (movement_occurred) {
motion (event, false);
motion (event, !first_move_occured () );
_drag_rect->hide();
_crect->hide ();