From ab42756729ce3552f6e8418d2bf7dffdbb8f09c4 Mon Sep 17 00:00:00 2001 From: Itay Cohen Date: Sun, 16 Dec 2018 09:06:17 +0200 Subject: [PATCH] Fix SIGSEGV on Sections widget (#1004) --- src/widgets/SectionsWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);