Skip to content

Commit

Permalink
Fix for ticket #223. (selecting rows in attribute table didn't update
Browse files Browse the repository at this point in the history
the map when selected by clicking on the header)


git-svn-id: http://svn.osgeo.org/qgis/trunk@5677 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Aug 9, 2006
1 parent 0d3bef6 commit 12fff4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 1 addition & 7 deletions src/gui/qgsattributetable.cpp
Expand Up @@ -139,7 +139,7 @@ void QgsAttributeTable::handleChangedSelections()
emit selected(text(index, 0).toInt());
}

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

}

Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/gui/qgsattributetable.h
Expand Up @@ -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
Expand Down

0 comments on commit 12fff4c

Please sign in to comment.