Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • 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.
6 changes: 3 additions & 3 deletions src/app/layout/qgslayoutmanagerdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 76bbadb

Please sign in to comment.