From af3f198f432b9f99aa30adbf4d009ab4894fa3a4 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 31 Oct 2019 13:10:15 +0300 Subject: [PATCH] Issue #3075: Fix crash on filter deletion --- src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp b/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp index 4b6871641..963861a31 100644 --- a/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp @@ -662,7 +662,7 @@ bool ModuleBase_WidgetSelectionFilter::restoreValueCustom() } QList aWidgets; - QList aItems = myFiltersWgt->findChildren(); + QList aItems = myFiltersLayout->findChildren(); foreach(ModuleBase_FilterItem* aItem, aItems) { QList aSubList = aItem->widgets(); foreach(ModuleBase_ModelWidget* aWgt, aSubList) { -- 2.39.2