In QgsAttributeTable: pass the QMouseEvent to Q3Table prior to check for changed selections

git-svn-id: http://svn.osgeo.org/qgis/trunk@5720 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2006-08-21 14:12:55 +00:00
parent c2e86b3221
commit de503b4a28

View File

@ -674,11 +674,11 @@ void QgsAttributeTable::rowClicked(int row)
void QgsAttributeTable::contentsMouseReleaseEvent(QMouseEvent* e)
{
Q3Table::contentsMouseReleaseEvent(e);
if(checkSelectionChanges())//only repaint the canvas if the selection has changed
{
emit repaintRequested();
}
Q3Table::contentsMouseReleaseEvent(e);
}
bool QgsAttributeTable::checkSelectionChanges()