Skip to content
Permalink
Browse files

[welcomepage] fixes #18118 remove last item causes a crash

  • Loading branch information
slarosa committed Feb 17, 2018
1 parent a8a449f commit 4b5fc4037962ede212a8317611085368446a9a23
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 4b5fc40

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