Skip to content
Permalink
Browse files
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
  • Loading branch information
g_j_m committed Aug 9, 2006
1 parent 444c1c0 commit a39351777798f220be79d5aa35927ea67d3b51cd
Showing with 1 addition and 8 deletions.
  1. +1 −7 src/gui/qgsattributetable.cpp
  2. +0 −1 src/gui/qgsattributetable.h
@@ -139,7 +139,7 @@ void QgsAttributeTable::handleChangedSelections()
emit selected(text(index, 0).toInt());
}

//emit repaintRequested();
emit repaintRequested();

}

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

void QgsAttributeTable::contentsMouseReleaseEvent(QMouseEvent * e)
{
contentsMouseMoveEvent(e); //send out a move event to keep the selections updated
emit repaintRequested();
}

void QgsAttributeTable::popupMenu(int row, int col, const QPoint& pos)
{
// Duplication of code in qgsidentufyresults.cpp. Consider placing
@@ -139,7 +139,6 @@ class QgsAttributeTable:public Q3Table
void keyReleaseEvent(QKeyEvent* ev);
/**Method used by sortColumn (implementation of a quicksort)*/
void qsort(int lower, int upper, int col, bool ascending, bool alphanumeric);
void contentsMouseReleaseEvent(QMouseEvent* e);
/**Clears mAddedAttributes, mDeletedAttributes and mChangedValues*/
void clearEditingStructures();
/**Removes the column belonging to an attribute from the table

0 comments on commit a393517

Please sign in to comment.