mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Allow to select VCAs in the mixer window
This commit is contained in:
parent
7b7ed820ed
commit
b0a3c2efbd
1 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ RouteProcessorSelection::add (AxisView* r, bool with_groups)
|
||||||
|
|
||||||
PresentationInfo::ChangeSuspender cs;
|
PresentationInfo::ChangeSuspender cs;
|
||||||
if (axes.insert (r).second) {
|
if (axes.insert (r).second) {
|
||||||
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionAdd, with_groups);
|
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionAdd, with_groups, false);
|
||||||
MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
|
MixerStrip* ms = dynamic_cast<MixerStrip*> (r);
|
||||||
if (ms) {
|
if (ms) {
|
||||||
ms->CatchDeletion.connect (*this, invalidator (*this), std::bind (&RouteProcessorSelection::remove, this, _1, false), gui_context());
|
ms->CatchDeletion.connect (*this, invalidator (*this), std::bind (&RouteProcessorSelection::remove, this, _1, false), gui_context());
|
||||||
|
|
@ -127,7 +127,7 @@ RouteProcessorSelection::remove (AxisView* r, bool with_groups)
|
||||||
ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r);
|
ENSURE_GUI_THREAD (*this, &RouteProcessorSelection::remove, r);
|
||||||
|
|
||||||
PresentationInfo::ChangeSuspender cs;
|
PresentationInfo::ChangeSuspender cs;
|
||||||
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionRemove, with_groups);
|
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionRemove, with_groups, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -137,7 +137,7 @@ RouteProcessorSelection::set (AxisView* r)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionSet);
|
shp.session()->selection().select_stripable_and_maybe_group (r->stripable(), SelectionSet, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue