Skip to content
Permalink
Browse files
allow filtered postgres tables to have no features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9253 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 3, 2008
1 parent d76898c commit 321a84b5c518f4893f8ef36051ac7f3ed55b69fd
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgspgquerybuilder.cpp
@@ -338,14 +338,18 @@ void QgsPgQueryBuilder::on_btnOk_clicked()
}
else
{
#if 0 // when is this necessary? [jef]
if ( numRecs == 0 )
{
QMessageBox::warning( this, tr( "No Records" ), tr( "The query you specified results in zero records being returned. Valid PostgreSQL layers must have at least one feature." ) );
}
else
{
#endif
this->accept();
#if 0
}
#endif
}
}
else

0 comments on commit 321a84b

Please sign in to comment.