mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue