mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Mixer Utility to deselect quickly a source
This commit is contained in:
10
Mixer.cpp
10
Mixer.cpp
@@ -500,6 +500,16 @@ void Mixer::uncover(Source *s)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Mixer::deselect(Source *s)
|
||||
{
|
||||
if ( s != nullptr ) {
|
||||
if ( s == *current_source_)
|
||||
unsetCurrentSource();
|
||||
Mixer::selection().remove(s);
|
||||
}
|
||||
}
|
||||
|
||||
void Mixer::deleteSelection()
|
||||
{
|
||||
// get clones first : this way we store the history of deletion in the right order
|
||||
|
||||
Reference in New Issue
Block a user