summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-17 22:30:11 +0100
committerRobin Gareus <robin@gareus.org>2020-03-17 22:30:58 +0100
commit5f88cbfd39601f2f660d0958a4f6d84231034ca2 (patch)
tree60f940e90420ee188bb4cbed0241555414da2b88 /libs/ardour/ardour/session.h
parent45026100aa0f2a94637aad39e7d39213738ff57a (diff)
Prevent adding routes in read-only sessions
"AddTrackBus" is a rec_sensitive and write_sensitive action. However the mixer bypasses this and unconditionally calls ARDOUR_UI::instance()->add_route () in various cases (right-click on blank space or scroller, left-click on "Add" buttons in the VCA pane, route pane, etc). Since those are direct events, not related actions, they need to be explicitly ignored. Ideally the "+" buttons would be made insensitive...
Diffstat (limited to 'libs/ardour/ardour/session.h')
0 files changed, 0 insertions, 0 deletions