Skip to content

Commit

Permalink
[Plugin manager] Fix window title
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Nov 6, 2017
1 parent ae33b58 commit 17aa88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pluginmanager/qgspluginmanager.cpp
Expand Up @@ -1572,7 +1572,7 @@ void QgsPluginManager::updateWindowTitle()
if ( curitem )
{
QString title = QStringLiteral( "%1 | %2" ).arg( tr( "Plugins" ), curitem->text() );
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 1 && mModelPlugins )
if ( mOptionsListWidget->currentRow() < mOptionsListWidget->count() - 2 && mModelPlugins )
{
// if it's not the Settings tab, add the plugin count
title += QStringLiteral( " (%3)" ).arg( mModelProxy->countWithCurrentStatus() );
Expand Down

0 comments on commit 17aa88c

Please sign in to comment.