From c9fe38381312f232a2f719bcd185ac5a99963056 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 Nov 2022 08:11:45 -0600 Subject: [PATCH] dbl click on mixer strip name label/color button brings up color picker --- gtk2_ardour/mixer_strip.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 6661383746..92f572f46f 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1202,7 +1202,12 @@ MixerStrip::name_button_button_press (GdkEventButton* ev) gboolean MixerStrip::number_button_button_press (GdkEventButton* ev) { - if ( ev->button == 3 ) { + if (ev->type == GDK_2BUTTON_PRESS) { + choose_color (); + return true; + } + + if (ev->button == 3) { list_route_operations (); route_ops_menu->popup (1, ev->time);