diff --git a/gtk2_ardour/vca_master_strip.cc b/gtk2_ardour/vca_master_strip.cc index a4423ba5e4..9d45009600 100644 --- a/gtk2_ardour/vca_master_strip.cc +++ b/gtk2_ardour/vca_master_strip.cc @@ -109,7 +109,8 @@ VCAMasterStrip::VCAMasterStrip (Session* s, std::shared_ptr v) /* horizontally centered, with a little space (5%) at the top */ vertical_button.set_angle (90); vertical_button.set_layout_font (UIConfiguration::instance().get_NormalBoldFont()); - vertical_button.signal_button_release_event().connect (sigc::mem_fun (*this, &VCAMasterStrip::vertical_button_press)); + vertical_button.signal_button_press_event().connect ([](GdkEventButton*) { return false;}, false); + vertical_button.signal_button_release_event().connect (sigc::mem_fun (*this, &VCAMasterStrip::vertical_button_release), false); vertical_button.set_fallthrough_to_parent (true); vertical_button.set_active_color (_vca->presentation_info().color ()); set_tooltip (vertical_button, _("Click to show assigned channels only")); /* tooltip updated dynamically */ @@ -380,7 +381,7 @@ VCAMasterStrip::solo_changed () } bool -VCAMasterStrip::vertical_button_press (GdkEventButton* ev) +VCAMasterStrip::vertical_button_release (GdkEventButton* ev) { if (ev->button == 1 && ev->type == GDK_2BUTTON_PRESS) { start_name_edit (); diff --git a/gtk2_ardour/vca_master_strip.h b/gtk2_ardour/vca_master_strip.h index 81b58f90ae..bc8297e553 100644 --- a/gtk2_ardour/vca_master_strip.h +++ b/gtk2_ardour/vca_master_strip.h @@ -95,7 +95,7 @@ private: void unassign (); void start_name_edit (); void finish_name_edit (std::string, int); - bool vertical_button_press (GdkEventButton*); + bool vertical_button_release (GdkEventButton*); bool number_button_press (GdkEventButton*); void vca_property_changed (PBD::PropertyChange const & what_changed); void update_vca_name ();