Skip to content

Commit 85034e9

Browse files
committed
Fix #8297. Select all when expression is blank
1 parent 38c8b56 commit 85034e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/app/qgsattributetabledialog.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,11 @@ void QgsAttributeTableDialog::filterQueryChanged( const QString& query )
568568

569569
void QgsAttributeTableDialog::filterQueryAccepted()
570570
{
571+
if ( mFilterQuery->text().isEmpty() )
572+
{
573+
filterShowAll();
574+
return;
575+
}
571576
filterQueryChanged( mFilterQuery->text() );
572577
}
573578

0 commit comments

Comments
 (0)