Skip to content

Commit

Permalink
[composer] Always default attribute tables to show all visible featur…
Browse files Browse the repository at this point in the history
…es (fix #10655)
  • Loading branch information
nyalldawson committed Jun 21, 2014
1 parent 522f2e4 commit f71fad3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerattributetable.cpp
Expand Up @@ -95,7 +95,7 @@ QgsComposerAttributeTable::QgsComposerAttributeTable( QgsComposition* compositio
, mVectorLayer( 0 )
, mComposerMap( 0 )
, mMaximumNumberOfFeatures( 5 )
, mShowOnlyVisibleFeatures( true )
, mShowOnlyVisibleFeatures( false )
, mFilterFeatures( false )
, mFeatureFilter( "" )
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/qgscomposerview.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit f71fad3

Please sign in to comment.