13
0

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:
Robin Gareus 2024-06-17 19:55:08 +02:00
parent c6c980c5a5
commit e15c337f57
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -87,7 +87,7 @@ BarController::on_button_press_event (GdkEventButton* ev)
} else {
_switch_on_release = false;
}
return false;
return 1 == ev->button;
}
bool