Skip to content
Permalink
Browse files
fix qgis startup crash with plugin manager (#4371)
  • Loading branch information
nirvn committed Apr 19, 2017
1 parent b3d0515 commit 41af40c36697835ce115fb6bb1a7c12ab6bbf1e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -1531,7 +1531,7 @@ void QgsPluginManager::updateWindowTitle()
if ( curitem )
{
QString title = QString( "%1 | %2" ).arg( tr( "Plugins" ), curitem->text() );
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 1 )
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 1 && mModelPlugins )
{
// if it's not the Settings tab, add the plugin count
title += QString( " (%3)" ).arg( mModelProxy->countWithCurrentStatus() );

0 comments on commit 41af40c

Please sign in to comment.