Skip to content
Permalink
Browse files

Fix indentation

  • Loading branch information
DelazJ authored and nyalldawson committed Apr 2, 2018
1 parent f723fb7 commit 76bbadbcd522e349bb1ae3660918610cc6c57433
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/layout/qgslayoutmanagerdialog.cpp
@@ -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.
You can’t perform that action at this time.