diff --git a/src/widgets/SectionsWidget.cpp b/src/widgets/SectionsWidget.cpp index 63f34765..798a0bb0 100644 --- a/src/widgets/SectionsWidget.cpp +++ b/src/widgets/SectionsWidget.cpp @@ -152,7 +152,7 @@ void SectionsWidget::initSectionsTable() { sectionsTable = new CutterTreeView; sectionsModel = new SectionsModel(§ions, this); - auto proxyModel = new SectionsProxyModel(sectionsModel, this); + proxyModel = new SectionsProxyModel(sectionsModel, this); sectionsTable->setModel(proxyModel); sectionsTable->setIndentation(10);