Skip to content

Commit f71fad3

Browse files
committed
[composer] Always default attribute tables to show all visible features (fix #10655)
1 parent 522f2e4 commit f71fad3

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/core/composer/qgscomposerattributetable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ QgsComposerAttributeTable::QgsComposerAttributeTable( QgsComposition* compositio
9595
, mVectorLayer( 0 )
9696
, mComposerMap( 0 )
9797
, mMaximumNumberOfFeatures( 5 )
98-
, mShowOnlyVisibleFeatures( true )
98+
, mShowOnlyVisibleFeatures( false )
9999
, mFilterFeatures( false )
100100
, mFeatureFilter( "" )
101101
{

src/gui/qgscomposerview.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -874,11 +874,6 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent* e )
874874
if ( mapItemList.size() > 0 )
875875
{
876876
newTable->setComposerMap( mapItemList.at( 0 ) );
877-
newTable->setDisplayOnlyVisibleFeatures( true );
878-
}
879-
else
880-
{
881-
newTable->setDisplayOnlyVisibleFeatures( false );
882877
}
883878
composition()->addComposerTable( newTable );
884879

0 commit comments

Comments
 (0)