BugFix: double-clic selection of mixing group crash

Improved CTRL+Clic for mixing group selection instead.
This commit is contained in:
Bruno Herbelin
2022-01-07 17:57:16 +01:00
parent 6b8a1428d7
commit 5e7c325874
2 changed files with 10 additions and 8 deletions

View File

@@ -565,12 +565,7 @@ void UserInterface::handleMouse()
// discard current to select front most source
// (because single clic maintains same source active)
Mixer::manager().unsetCurrentSource();
else {
MixingGroup *g = Mixer::manager().currentSource()->mixingGroup();
if (g != nullptr){
Mixer::selection().set( g->getCopy() );
}
}
// display source in left pannel
navigator.showPannelSource( Mixer::manager().indexCurrentSource() );
}