mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Prevent stuck VCA button
This is for Mixbus, which always shows the VCA button regardless of VCAs being present in the session.
This commit is contained in:
parent
d979c9d09c
commit
12c4a88db6
1 changed files with 3 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ ControlSlaveUI::vca_button_release (GdkEventButton* ev, uint32_t n)
|
|||
|
||||
if (vcas.empty()) {
|
||||
/* the button should not have been visible under these conditions */
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
delete context_menu;
|
||||
|
|
@ -214,9 +214,10 @@ ControlSlaveUI::vca_button_release (GdkEventButton* ev, uint32_t n)
|
|||
|
||||
if (!items.empty()) {
|
||||
context_menu->popup (1, ev->time);
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue