Skip to content
Permalink
Browse files

Fix potential crash in unit test

  • Loading branch information
nyalldawson committed Jul 9, 2018
1 parent 1134386 commit f640c482310fce1e41d3a07277166b643f4a14e2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/processing/qgsprocessingtoolboxmodel.cpp
@@ -151,7 +151,7 @@ void QgsProcessingToolboxModel::rebuild()

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

QModelIndex recentIndex = index( 0, 0 );

0 comments on commit f640c48

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