diff --git a/src/gui/qgsattributetable.cpp b/src/gui/qgsattributetable.cpp index 340efd75989..9e845a21128 100644 --- a/src/gui/qgsattributetable.cpp +++ b/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()