Skip to content

Commit a393517

Browse files
author
g_j_m
committedAug 9, 2006
Fix for ticket #223. (selecting rows in attribute table didn't update
the map when selected by clicking on the header) git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5677 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 444c1c0 commit a393517

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed
 

‎src/gui/qgsattributetable.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ void QgsAttributeTable::handleChangedSelections()
139139
emit selected(text(index, 0).toInt());
140140
}
141141

142-
//emit repaintRequested();
142+
emit repaintRequested();
143143

144144
}
145145

@@ -268,12 +268,6 @@ void QgsAttributeTable::qsort(int lower, int upper, int col, bool ascending, boo
268268
}
269269
}
270270

271-
void QgsAttributeTable::contentsMouseReleaseEvent(QMouseEvent * e)
272-
{
273-
contentsMouseMoveEvent(e); //send out a move event to keep the selections updated
274-
emit repaintRequested();
275-
}
276-
277271
void QgsAttributeTable::popupMenu(int row, int col, const QPoint& pos)
278272
{
279273
// Duplication of code in qgsidentufyresults.cpp. Consider placing

‎src/gui/qgsattributetable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ class QgsAttributeTable:public Q3Table
139139
void keyReleaseEvent(QKeyEvent* ev);
140140
/**Method used by sortColumn (implementation of a quicksort)*/
141141
void qsort(int lower, int upper, int col, bool ascending, bool alphanumeric);
142-
void contentsMouseReleaseEvent(QMouseEvent* e);
143142
/**Clears mAddedAttributes, mDeletedAttributes and mChangedValues*/
144143
void clearEditingStructures();
145144
/**Removes the column belonging to an attribute from the table

0 commit comments

Comments
 (0)
Please sign in to comment.