Skip to content

Commit 76bbadb

Browse files
DelazJnyalldawson
authored andcommittedApr 2, 2018
Fix indentation
1 parent f723fb7 commit 76bbadb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/app/layout/qgslayoutmanagerdialog.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ QgsLayoutManagerDialog::QgsLayoutManagerDialog( QWidget *parent, Qt::WindowFlags
7272
mLayoutListView->setModel( mProxyModel );
7373

7474
connect( mButtonBox, &QDialogButtonBox::rejected, this, &QWidget::close );
75-
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsLayoutManagerDialog::showHelp );
76-
connect( mLayoutListView->selectionModel(), &QItemSelectionModel::selectionChanged,
75+
connect( mButtonBox, &QDialogButtonBox::helpRequested, this, &QgsLayoutManagerDialog::showHelp );
76+
connect( mLayoutListView->selectionModel(), &QItemSelectionModel::selectionChanged,
7777
this, &QgsLayoutManagerDialog::toggleButtons );
7878
connect( mLayoutListView, &QListView::doubleClicked, this, &QgsLayoutManagerDialog::itemDoubleClicked );
7979

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.