Skip to content
Permalink
Browse files
Fix indentation
  • Loading branch information
DelazJ authored and nyalldawson committed Apr 2, 2018
1 parent f723fb7 commit 76bbadb
Showing 1 changed file with 3 additions and 3 deletions.
@@ -72,8 +72,8 @@ QgsLayoutManagerDialog::QgsLayoutManagerDialog( QWidget *parent, Qt::WindowFlags
mLayoutListView->setModel( mProxyModel );

connect( mButtonBox, &QDialogButtonBox::rejected, this, &QWidget::close );
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsLayoutManagerDialog::showHelp );
connect( mLayoutListView->selectionModel(), &QItemSelectionModel::selectionChanged,
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsLayoutManagerDialog::showHelp );
connect( mLayoutListView->selectionModel(), &QItemSelectionModel::selectionChanged,
this, &QgsLayoutManagerDialog::toggleButtons );
connect( mLayoutListView, &QListView::doubleClicked, this, &QgsLayoutManagerDialog::itemDoubleClicked );

@@ -235,7 +235,7 @@ void QgsLayoutManagerDialog::mAddButton_clicked()
}
}

if ( mTemplate->currentIndex() = 1 ) // if it's an empty report
if ( mTemplate->currentIndex() == 1 ) // if it's an empty report
{
createReport();
}

0 comments on commit 76bbadb

Please sign in to comment.