13
0

make dbl-click on mixer strip name button start a rename

This commit is contained in:
Paul Davis 2024-05-07 16:34:55 -06:00
parent 7d04a8bdd4
commit 94e0f2d3cd

View File

@ -1209,11 +1209,16 @@ MixerStrip::build_route_ops_menu ()
gboolean
MixerStrip::name_button_button_press (GdkEventButton* ev)
{
if (ev->button == 1) {
if (ev->button == 1 && ev->type == GDK_BUTTON_PRESS) {
/* fall thru to mixer */
return false;
}
if (ev->button == 1 && ev->type == GDK_2BUTTON_PRESS) {
route_rename ();
return true;
}
if (ev->button == 3 && ARDOUR::Profile->get_livetrax() && _route && _route->is_singleton ()) {
return true;
}