Skip to content
Permalink
Browse files

Merge pull request #6369 from slarosa/fix_18118_crash

[welcomepage] fixes #18118 remove last item causes a crash
  • Loading branch information
nyalldawson committed Feb 19, 2018
2 parents 39cb0fb + 4b5fc40 commit da7ccf7d1f0c03287bfba353f1459aa05d97db88
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgswelcomepageitemsmodel.cpp
@@ -230,7 +230,9 @@ void QgsWelcomePageItemsModel::unpinProject( const QModelIndex &index )

void QgsWelcomePageItemsModel::removeProject( const QModelIndex &index )
{
beginRemoveRows( index, index.row(), index.row() );
mRecentProjects.removeAt( index.row() );
endRemoveRows();
}

void QgsWelcomePageItemsModel::recheckProject( const QModelIndex &index )

0 comments on commit da7ccf7

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