Skip to content
Permalink
Browse files

[plugin manager] fix QGIS startup crash (fixes #16439) (#4360)

  • Loading branch information
nirvn authored and timlinux committed Apr 12, 2017
1 parent c4ad950 commit 40dac8f00d3542b55f2b03cfdb680c0dccc9fa3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -1536,7 +1536,7 @@ void QgsPluginManager::updateWindowTitle()
if ( curitem )
{
QString title = QStringLiteral( "%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 += QStringLiteral( " (%3)" ).arg( mModelProxy->countWithCurrentStatus() );

0 comments on commit 40dac8f

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