mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix potential crash in unit test
This commit is contained in:
parent
1134386825
commit
f640c48231
@ -151,7 +151,7 @@ void QgsProcessingToolboxModel::rebuild()
|
||||
|
||||
void QgsProcessingToolboxModel::repopulateRecentAlgorithms( bool resetting )
|
||||
{
|
||||
if ( !mRecentNode )
|
||||
if ( !mRecentNode || !mRecentLog )
|
||||
return;
|
||||
|
||||
QModelIndex recentIndex = index( 0, 0 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user