Skip to content
Permalink
Browse files

[Plugin manager] Fix window title

  • Loading branch information
borysiasty committed Nov 6, 2017
1 parent ae33b58 commit 17aa88cdecf7a8ef0c61179eb6018b42f800e63a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/pluginmanager/qgspluginmanager.cpp
@@ -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() );

0 comments on commit 17aa88c

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