UI: Allow right-clicking mixer sources to bring up menu
Allows bringing up properties/filters/etc via right-clicking mixer items in addition instead of only being able to click the gear icon. Minor QoL improvement.master
parent
2ef00ecec4
commit
7bde1eb6af
|
@ -2238,6 +2238,10 @@ void OBSBasic::ActivateAudioSource(OBSSource source)
|
|||
{
|
||||
VolControl *vol = new VolControl(source, true);
|
||||
|
||||
vol->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
|
||||
connect(vol, &QWidget::customContextMenuRequested,
|
||||
this, &OBSBasic::VolControlContextMenu);
|
||||
connect(vol, &VolControl::ConfigClicked,
|
||||
this, &OBSBasic::VolControlContextMenu);
|
||||
|
||||
|
|
Loading…
Reference in New Issue