Skip to content
Permalink
Browse files
fix #1532
git-svn-id: http://svn.osgeo.org/qgis/trunk@10117 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Feb 6, 2009
1 parent 7a8d9ea commit ee5815bf995c938f30bf1ae8101f9e69ce6a8935
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsattributetabledisplay.cpp
@@ -296,6 +296,9 @@ void QgsAttributeTableDisplay::zoomMapToSelectedRows()

void QgsAttributeTableDisplay::search()
{
if ( tblAttributes->rowCount() == 0 )
return;

int type = tblAttributes->item( 0, mSearchColumns->currentIndex() )->data( QgsAttributeTable::AttributeType ).toInt();
bool numeric = ( type == QVariant::Int || type == QVariant::Double );

0 comments on commit ee5815b

Please sign in to comment.