Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix long reload of filter change in attribute table by revert bad commit
  • Loading branch information
github-actions[bot] committed Aug 6, 2020
1 parent d1a1719 commit 1b4ab7a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/gui/attributetable/qgsfeaturelistview.cpp
Expand Up @@ -162,11 +162,7 @@ void QgsFeatureListView::editSelectionChanged( const QItemSelection &deselected,
QItemSelection localSelected = mModel->mapSelectionFromMaster( selected );
viewport()->update( visualRegionForSelection( localDeselected ) | visualRegionForSelection( localSelected ) );
}
updateEditSelectionDependencies();
}

void QgsFeatureListView::updateEditSelectionDependencies()
{
QItemSelection currentSelection = mCurrentEditSelectionModel->selection();
if ( currentSelection.size() == 1 )
{
Expand Down Expand Up @@ -468,7 +464,6 @@ void QgsFeatureListView::ensureEditSelection( bool inSelection )
}
mUpdateEditSelectionTimer.start();
}
updateEditSelectionDependencies();
}

void QgsFeatureListView::setFeatureSelectionManager( QgsIFeatureSelectionManager *featureSelectionManager )
Expand Down
5 changes: 0 additions & 5 deletions src/gui/attributetable/qgsfeaturelistview.h
Expand Up @@ -214,11 +214,6 @@ class GUI_EXPORT QgsFeatureListView : public QListView
private slots:
void editSelectionChanged( const QItemSelection &deselected, const QItemSelection &selected );

/**
* Emits the signal for the feature and the selection information
*/
void updateEditSelectionDependencies();

/**
* Make sure, there is an edit selection. If there is none, choose the first item.
* If \a inSelection is set to TRUE, the edit selection is done in selected entries if
Expand Down

0 comments on commit 1b4ab7a

Please sign in to comment.