libobs: Fix bad source release placement
(This commit also modifies the UI) The source release was being done in the wrong file.
This commit is contained in:
parent
6634415e32
commit
f81adbd856
2 changed files with 2 additions and 3 deletions
|
|
@ -6149,8 +6149,9 @@ void OBSBasic::on_actionCopyFilters_triggered()
|
|||
void OBSBasic::on_actionPasteFilters_triggered()
|
||||
{
|
||||
OBSSource source = obs_get_source_by_name(copyFiltersString);
|
||||
OBSSceneItem sceneItem = GetCurrentSceneItem();
|
||||
obs_source_release(source);
|
||||
|
||||
OBSSceneItem sceneItem = GetCurrentSceneItem();
|
||||
OBSSource dstSource = obs_sceneitem_get_source(sceneItem);
|
||||
|
||||
if (source == dstSource)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue