From 4fb8dd805f7d6652ef1b30e7b2f3bdefc0e6fb48 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 2 Mar 2022 18:26:23 +0100 Subject: [PATCH] Don't allow dropdown scroll for patch-banks Changing banks refills the dropdown. This cannot be avoided since unnamed banks are not in the dropdown, and the dropdown content can change dynamically. Scroll-wheel does not work reliably. --- gtk2_ardour/patch_change_widget.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/patch_change_widget.cc b/gtk2_ardour/patch_change_widget.cc index b3e4d62005..9f72cd29c9 100644 --- a/gtk2_ardour/patch_change_widget.cc +++ b/gtk2_ardour/patch_change_widget.cc @@ -53,6 +53,7 @@ PatchBankList::PatchBankList () , _ignore_spin_btn_signals (false) { _program_table.set_spacings (1); + _bank_select.disable_scrolling (); /* changing bank refills the dropdown */ for (uint8_t pgm = 0; pgm < 128; ++pgm) { _program_btn[pgm].set_text_ellipsize (Pango::ELLIPSIZE_END);