Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mhugent committed Aug 21, 2006
1 parent c2e86b3 commit de503b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsattributetable.cpp
Expand Up @@ -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()
Expand Down

0 comments on commit de503b4

Please sign in to comment.