Skip to content
Permalink
Browse files
fix qgis startup crash with plugin manager (#4372)
  • Loading branch information
nirvn committed Apr 19, 2017
1 parent 323af15 commit ca40e115294fe6882156f3a40fd91a363ff2f5b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -1461,7 +1461,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 ca40e11

Please sign in to comment.