Skip to content

Commit

Permalink
fix #1532
Browse files Browse the repository at this point in the history
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 ee5815b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsattributetabledisplay.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit ee5815b

Please sign in to comment.