Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
allow filtered postgres tables to have no features
git-svn-id: http://svn.osgeo.org/qgis/trunk@9253 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 3, 2008
1 parent 7defe5a commit c43f554
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgspgquerybuilder.cpp
Expand Up @@ -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
Expand Down

0 comments on commit c43f554

Please sign in to comment.