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.
This commit is contained in:
parent
bff55cc881
commit
4fb8dd805f
@ -53,6 +53,7 @@ PatchBankList::PatchBankList ()
|
|||||||
, _ignore_spin_btn_signals (false)
|
, _ignore_spin_btn_signals (false)
|
||||||
{
|
{
|
||||||
_program_table.set_spacings (1);
|
_program_table.set_spacings (1);
|
||||||
|
_bank_select.disable_scrolling (); /* changing bank refills the dropdown */
|
||||||
|
|
||||||
for (uint8_t pgm = 0; pgm < 128; ++pgm) {
|
for (uint8_t pgm = 0; pgm < 128; ++pgm) {
|
||||||
_program_btn[pgm].set_text_ellipsize (Pango::ELLIPSIZE_END);
|
_program_btn[pgm].set_text_ellipsize (Pango::ELLIPSIZE_END);
|
||||||
|
Loading…
Reference in New Issue
Block a user