Skip to content

Commit

Permalink
Allow docking the attribute table left and right
Browse files Browse the repository at this point in the history
Fix #14941
  • Loading branch information
m-kuhn committed Jun 14, 2016
1 parent 1563526 commit df6d2c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/qgsattributetabledialog.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit df6d2c6

Please sign in to comment.