Skip to content
Permalink
Browse files

[composer] Always default attribute tables to show all visible featur…

…es (fix #10655)
  • Loading branch information
nyalldawson committed Jun 21, 2014
1 parent 522f2e4 commit f71fad3782238558f8ae46640fe450240fc1ef97
Showing with 1 addition and 6 deletions.
  1. +1 −1 src/core/composer/qgscomposerattributetable.cpp
  2. +0 −5 src/gui/qgscomposerview.cpp
@@ -95,7 +95,7 @@ QgsComposerAttributeTable::QgsComposerAttributeTable( QgsComposition* compositio
, mVectorLayer( 0 )
, mComposerMap( 0 )
, mMaximumNumberOfFeatures( 5 )
, mShowOnlyVisibleFeatures( true )
, mShowOnlyVisibleFeatures( false )
, mFilterFeatures( false )
, mFeatureFilter( "" )
{
@@ -874,11 +874,6 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent* e )
if ( mapItemList.size() > 0 )
{
newTable->setComposerMap( mapItemList.at( 0 ) );
newTable->setDisplayOnlyVisibleFeatures( true );
}
else
{
newTable->setDisplayOnlyVisibleFeatures( false );
}
composition()->addComposerTable( newTable );

0 comments on commit f71fad3

Please sign in to comment.
You can’t perform that action at this time.