mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
[Summary] Fixed misdesign. Now signal_clicked of a toggleable Waves_button will bring new state of the button.
This commit is contained in:
parent
9617b25e4c
commit
2d2a8fb72d
1 changed files with 1 additions and 1 deletions
|
|
@ -352,10 +352,10 @@ WavesButton::on_button_release_event (GdkEventButton *)
|
|||
_pushed = false;
|
||||
queue_draw ();
|
||||
if (_hovering) {
|
||||
signal_clicked (this);
|
||||
if (_toggleable) {
|
||||
set_active_state (active_state () == Gtkmm2ext::ExplicitActive ? Gtkmm2ext::Off : Gtkmm2ext::ExplicitActive);
|
||||
}
|
||||
signal_clicked (this);
|
||||
|
||||
if (_act_on_release) {
|
||||
if (_action) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue