mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
[Summary] Fixed bug 44828 Crash then using Click on Skip marker area to create/delete skip marker
This commit is contained in:
parent
9c17e9110f
commit
d10f698197
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue