Skip to content

Commit de503b4

Browse files
author
mhugent
committed
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
1 parent c2e86b3 commit de503b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsattributetable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -674,11 +674,11 @@ void QgsAttributeTable::rowClicked(int row)
674674

675675
void QgsAttributeTable::contentsMouseReleaseEvent(QMouseEvent* e)
676676
{
677+
Q3Table::contentsMouseReleaseEvent(e);
677678
if(checkSelectionChanges())//only repaint the canvas if the selection has changed
678679
{
679680
emit repaintRequested();
680681
}
681-
Q3Table::contentsMouseReleaseEvent(e);
682682
}
683683

684684
bool QgsAttributeTable::checkSelectionChanges()

0 commit comments

Comments
 (0)