From 57cac0100b485fe86c4f6df573e6aa09f4bae16f Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Sat, 30 Dec 2017 20:27:08 +1000 Subject: [PATCH] Expand report sections by default --- src/app/layout/qgsreportorganizerwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/layout/qgsreportorganizerwidget.cpp b/src/app/layout/qgsreportorganizerwidget.cpp index c399f2ac5f8d..7570ae854373 100644 --- a/src/app/layout/qgsreportorganizerwidget.cpp +++ b/src/app/layout/qgsreportorganizerwidget.cpp @@ -40,6 +40,7 @@ QgsReportOrganizerWidget::QgsReportOrganizerWidget( QWidget *parent, QgsLayoutDe mSectionModel = new QgsReportSectionModel( mReport, mViewSections ); mViewSections->setModel( mSectionModel ); + mViewSections->expandAll(); #ifdef ENABLE_MODELTEST new ModelTest( mSectionModel, this );