mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
parent
1563526f0d
commit
df6d2c631c
@ -176,7 +176,6 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid
|
||||
if ( myDockFlag )
|
||||
{
|
||||
mDock = new QgsAttributeTableDock( tr( "%1 (%n Feature(s))", "feature count", mMainView->featureCount() ).arg( mLayer->name() ), QgisApp::instance() );
|
||||
mDock->setAllowedAreas( Qt::BottomDockWidgetArea | Qt::TopDockWidgetArea );
|
||||
mDock->setWidget( this );
|
||||
connect( this, SIGNAL( destroyed() ), mDock, SLOT( close() ) );
|
||||
QgisApp::instance()->addDockWidget( Qt::BottomDockWidgetArea, mDock );
|
||||
|
Loading…
x
Reference in New Issue
Block a user