Skip to content

Commit 1152fef

Browse files
committed
Remove "attribute table" from dialog title (fix #14959)
1 parent 21f3730 commit 1152fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/qgsattributetabledialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid
175175
bool myDockFlag = settings.value( "/qgis/dockAttributeTable", false ).toBool();
176176
if ( myDockFlag )
177177
{
178-
mDock = new QgsAttributeTableDock( tr( "Attribute table - %1 (%n Feature(s))", "feature count", mMainView->featureCount() ).arg( mLayer->name() ), QgisApp::instance() );
178+
mDock = new QgsAttributeTableDock( tr( "%1 (%n Feature(s))", "feature count", mMainView->featureCount() ).arg( mLayer->name() ), QgisApp::instance() );
179179
mDock->setAllowedAreas( Qt::BottomDockWidgetArea | Qt::TopDockWidgetArea );
180180
mDock->setWidget( this );
181181
connect( this, SIGNAL( destroyed() ), mDock, SLOT( close() ) );
@@ -283,7 +283,7 @@ QgsAttributeTableDialog::~QgsAttributeTableDialog()
283283
void QgsAttributeTableDialog::updateTitle()
284284
{
285285
QWidget *w = mDock ? qobject_cast<QWidget*>( mDock ) : qobject_cast<QWidget*>( this );
286-
w->setWindowTitle( tr( "Attribute table - %1 :: Features total: %2, filtered: %3, selected: %4%5" )
286+
w->setWindowTitle( tr( " %1 :: Features total: %2, filtered: %3, selected: %4%5" )
287287
.arg( mLayer->name() )
288288
.arg( mMainView->featureCount() )
289289
.arg( mMainView->filteredFeatureCount() )

0 commit comments

Comments
 (0)