Skip to content

Commit 41af40c

Browse files
authoredApr 19, 2017
fix qgis startup crash with plugin manager (#4371)
1 parent b3d0515 commit 41af40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/pluginmanager/qgspluginmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ void QgsPluginManager::updateWindowTitle()
15311531
if ( curitem )
15321532
{
15331533
QString title = QString( "%1 | %2" ).arg( tr( "Plugins" ), curitem->text() );
1534-
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 1 )
1534+
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 1 && mModelPlugins )
15351535
{
15361536
// if it's not the Settings tab, add the plugin count
15371537
title += QString( " (%3)" ).arg( mModelProxy->countWithCurrentStatus() );

0 commit comments

Comments
 (0)
Please sign in to comment.