mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[Plugin manager] Fix window title
This commit is contained in:
parent
ae33b58ac7
commit
17aa88cdec
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user