UI: Add ability to lock volume
This commit is contained in:
parent
fd244a6896
commit
b3601681b8
5 changed files with 44 additions and 0 deletions
|
|
@ -276,6 +276,11 @@ VolControl::VolControl(OBSSource source_, bool showConfig, bool vertical)
|
|||
VolumeChanged();
|
||||
}
|
||||
|
||||
void VolControl::EnableSlider(bool enable)
|
||||
{
|
||||
slider->setEnabled(enable);
|
||||
}
|
||||
|
||||
VolControl::~VolControl()
|
||||
{
|
||||
obs_fader_remove_callback(obs_fader, OBSVolumeChanged, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue