Skip to content
Permalink
Browse files
Fix dual view form view ghost features
Fixes #43477
  • Loading branch information
elpaso authored and nyalldawson committed Jun 9, 2021
1 parent 1bc071c commit dac568f76877dfbd8156685c9347fc8a785eea9b
Showing with 8 additions and 0 deletions.
  1. +4 −0 src/gui/attributetable/qgsdualview.cpp
  2. +4 −0 src/gui/attributetable/qgsfeaturelistview.cpp
@@ -546,6 +546,10 @@ void QgsDualView::updateEditSelectionProgress( int progress, int count )
mNextFeatureButton->setEnabled( progress + 1 < count );
mFirstFeatureButton->setEnabled( progress > 0 );
mLastFeatureButton->setEnabled( progress + 1 < count );
if ( mAttributeForm )
{
mAttributeForm->setVisible( count > 0 );
}
}

void QgsDualView::panOrZoomToFeature( const QgsFeatureIds &featureset )
@@ -177,6 +177,10 @@ void QgsFeatureListView::editSelectionChanged( const QItemSelection &deselected,
emit currentEditSelectionProgressChanged( mModel->mapFromMaster( indexList.first() ).row(), mModel->rowCount() );
}
}
else if ( mModel->rowCount() == 0 )
{
emit currentEditSelectionProgressChanged( 0, 0 );
}
}

void QgsFeatureListView::selectAll()

0 comments on commit dac568f

Please sign in to comment.