Skip to content

Commit

Permalink
Fix crash on report designer close
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 5, 2018
1 parent 3db9c01 commit 01ce9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgsreportorganizerwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ QgsReportOrganizerWidget::QgsReportOrganizerWidget( QWidget *parent, QgsLayoutDe
setupUi( this );
setPanelTitle( tr( "Report" ) );

mSectionModel = new QgsReportSectionModel( mReport, mViewSections );
mSectionModel = new QgsReportSectionModel( mReport, this );
mViewSections->setModel( mSectionModel );
mViewSections->expandAll();

Expand Down

0 comments on commit 01ce9bc

Please sign in to comment.