Skip to content

Commit 02c7170

Browse files
committed
Fix persistent enabled filters button
1 parent 4a7480f commit 02c7170

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/filtercontroller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ void FilterController::clearAllFilters()
6666
void FilterController::loadFilterConfig( const QgsProject *project )
6767
{
6868
mFieldFilters.clear();
69+
setFiltersEnabled( false );
6970

7071
bool valueRead = false;
7172
const bool filteringAvailable = project->readBoolEntry( QStringLiteral( "Mergin" ), QStringLiteral( "Filtering/Enabled" ), false, &valueRead );

0 commit comments

Comments
 (0)