]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3075: Fix crash on filter deletion
authorvsv <vsv@opencascade.com>
Thu, 31 Oct 2019 10:10:15 +0000 (13:10 +0300)
committervsv <vsv@opencascade.com>
Wed, 6 Nov 2019 08:27:40 +0000 (11:27 +0300)
src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp

index 4b6871641c811f0d8af12addf410cd46508347e8..963861a31497f2ef726b5a7687481994844ee032 100644 (file)
@@ -662,7 +662,7 @@ bool ModuleBase_WidgetSelectionFilter::restoreValueCustom()
   }
 
   QList<QWidget*> aWidgets;
-  QList<ModuleBase_FilterItem*> aItems = myFiltersWgt->findChildren<ModuleBase_FilterItem*>();
+  QList<ModuleBase_FilterItem*> aItems = myFiltersLayout->findChildren<ModuleBase_FilterItem*>();
   foreach(ModuleBase_FilterItem* aItem, aItems) {
     QList<ModuleBase_ModelWidget*> aSubList = aItem->widgets();
     foreach(ModuleBase_ModelWidget* aWgt, aSubList) {