mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00:00
UI: Disable Copy Filters in Audio Mixer for source with no filters
When you right-click on a source in the Sources list that does not have any filters, the "Copy Filters" item is disabled. When you right-click on an audio source in the Audio Mixer that does not have any filters, the "Copy Filters" item is enabled. This fixes the Audio Mixer context menu to behave like the Sources context menu. Fixes #4790.
This commit is contained in:
parent
08c5f02010
commit
efb2dc70b9
|
@ -3337,6 +3337,9 @@ void OBSBasic::VolControlContextMenu()
|
|||
|
||||
/* ------------------- */
|
||||
|
||||
copyFiltersAction.setEnabled(obs_source_filter_count(vol->GetSource()) >
|
||||
0);
|
||||
|
||||
if (copyFiltersString == nullptr)
|
||||
pasteFiltersAction.setEnabled(false);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue