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 Jul 11, 2016
1 parent 7a27ef2 commit 1225431
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/qgsattributetabledialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 1225431

Please sign in to comment.