Allow single-click on TempoMap Ruler markers
This fixes the abort, when clicking on a Tempo, Meter or BBT Marker using the grid tool.
This commit is contained in:
parent
b87937a20e
commit
5426bbfd57
@ -1919,9 +1919,12 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case MouseGrid:
|
case MouseGrid:
|
||||||
/* MouseGrid clicks are handled by _canvas_grid_zone */
|
cout << "MouseGrid item:" << item << " type: " << item_type << " event: " << event << "\n";
|
||||||
fatal << _("programming error: MouseGrid clicks are handled by _canvas_grid_zone!") << endmsg;
|
|
||||||
abort(); /*NOTREACHED*/
|
/* MouseGrid clicks are handled by _canvas_grid_zone ,
|
||||||
|
* We can still get here by single-click on a Tempo, Meter or BBT Marker in the ruler.
|
||||||
|
*/
|
||||||
|
return true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user