Skip to content
Permalink
Browse files
In QgsAttributeTable: pass the QMouseEvent to Q3Table prior to check …
…for changed selections

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5720 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 21, 2006
1 parent 42dcd4a commit 5d4bec33e63a2131943448a658c9eed31ac763ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsattributetable.cpp
@@ -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()

0 comments on commit 5d4bec3

Please sign in to comment.