Skip to content
Permalink
Browse files
Allow docking the attribute table left and right
Fix #14941
  • Loading branch information
m-kuhn committed Jul 11, 2016
1 parent 7a27ef2 commit 1225431e0db6774a66ee5ece533556c4178bc984
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/app/qgsattributetabledialog.cpp
@@ -156,7 +156,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 );

0 comments on commit 1225431

Please sign in to comment.