Fix crash (invalid Track Drag) when starting automation value edit
When double-clicking to edit a fader value three button press events are created: 1. GDK_BUTTON_PRESS 2. GDK_BUTTON_PRESS 3. GDK_2BUTTON_PRESS The first two start an Editor Drag, which later crashes in Editor::mid_track_drag() gtk2_ardour/editor.cc:7067
This commit is contained in:
parent
c6c980c5a5
commit
e15c337f57
@ -87,7 +87,7 @@ BarController::on_button_press_event (GdkEventButton* ev)
|
|||||||
} else {
|
} else {
|
||||||
_switch_on_release = false;
|
_switch_on_release = false;
|
||||||
}
|
}
|
||||||
return false;
|
return 1 == ev->button;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user