From: vsv Date: Thu, 31 Oct 2019 10:10:15 +0000 (+0300) Subject: Issue #3075: Fix crash on filter deletion X-Git-Tag: V9_4_0rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a73f8d27d85cefdfbfd6fecf8c4ca8cad0c7451;p=modules%2Fshaper.git Issue #3075: Fix crash on filter 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) {