mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
c2e86b3221
commit
de503b4a28
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user