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