UI: Fix crash in filters dialog caused by access to deleted widget
This commit is contained in:
parent
c99f65a0df
commit
7de289f6cc
@ -146,8 +146,10 @@ inline OBSSource OBSBasicFilters::GetFilter(int row, bool async)
|
||||
|
||||
void OBSBasicFilters::UpdatePropertiesView(int row, bool async)
|
||||
{
|
||||
delete view;
|
||||
view = nullptr;
|
||||
if (view) {
|
||||
view->deleteLater();
|
||||
view = nullptr;
|
||||
}
|
||||
|
||||
OBSSource filter = GetFilter(row, async);
|
||||
if (!filter)
|
||||
|
Loading…
x
Reference in New Issue
Block a user