make dbl-click on mixer strip name button start a rename
This commit is contained in:
parent
7d04a8bdd4
commit
94e0f2d3cd
|
@ -1209,11 +1209,16 @@ MixerStrip::build_route_ops_menu ()
|
||||||
gboolean
|
gboolean
|
||||||
MixerStrip::name_button_button_press (GdkEventButton* ev)
|
MixerStrip::name_button_button_press (GdkEventButton* ev)
|
||||||
{
|
{
|
||||||
if (ev->button == 1) {
|
if (ev->button == 1 && ev->type == GDK_BUTTON_PRESS) {
|
||||||
/* fall thru to mixer */
|
/* fall thru to mixer */
|
||||||
return false;
|
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 ()) {
|
if (ev->button == 3 && ARDOUR::Profile->get_livetrax() && _route && _route->is_singleton ()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user