mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ BarController::on_button_press_event (GdkEventButton* ev)
|
|||
} else {
|
||||
_switch_on_release = false;
|
||||
}
|
||||
return false;
|
||||
return 1 == ev->button;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue