Skip to content
Permalink
Browse files

Initially select report section when opening a report designer

  • Loading branch information
nyalldawson committed Jan 23, 2018
1 parent 3f801b5 commit 37c870654828891f4b22d8b94a240f48c759dcd3
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/layout/qgsreportorganizerwidget.cpp
@@ -67,6 +67,10 @@ QgsReportOrganizerWidget::QgsReportOrganizerWidget( QWidget *parent, QgsLayoutDe
mButtonAddSection->setMenu( addMenu );
connect( mButtonRemoveSection, &QPushButton::clicked, this, &QgsReportOrganizerWidget::removeSection );
mButtonRemoveSection->setEnabled( false ); //disable until section clicked

// initially select report section
QModelIndex reportIndex = mSectionModel->indexForSection( report );
mViewSections->setCurrentIndex( reportIndex );
}

void QgsReportOrganizerWidget::setMessageBar( QgsMessageBar *bar )

0 comments on commit 37c8706

Please sign in to comment.
You can’t perform that action at this time.