Skip to content

Commit

Permalink
determine geometry types of GEOMETRY in geometry_columns (related to #…
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 18, 2012
1 parent 8eb323a commit d12c4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspgsourceselect.cpp
Expand Up @@ -453,7 +453,7 @@ void QgsPgSourceSelect::on_btnConnect_clicked()
{
QString type = layer.type;
QString srid = layer.srid;
if ( !searchGeometryColumnsOnly && !layer.geometryColName.isNull() )
if ( !layer.geometryColName.isNull() )
{
if ( type == "GEOMETRY" || type.isNull() || srid.isEmpty() )
{
Expand Down

0 comments on commit d12c4a7

Please sign in to comment.