Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix potential crash in unit test
  • Loading branch information
nyalldawson committed Jul 16, 2018
1 parent 1134386 commit f640c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/processing/qgsprocessingtoolboxmodel.cpp
Expand Up @@ -151,7 +151,7 @@ void QgsProcessingToolboxModel::rebuild()

void QgsProcessingToolboxModel::repopulateRecentAlgorithms( bool resetting )
{
if ( !mRecentNode )
if ( !mRecentNode || !mRecentLog )
return;

QModelIndex recentIndex = index( 0, 0 );
Expand Down

0 comments on commit f640c48

Please sign in to comment.