Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix crash double-clicking to the Connect button in add PG layer dialog
  • Loading branch information
brushtyler committed Oct 18, 2012
1 parent bb31a2d commit 6a53f13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/postgres/qgscolumntypethread.cpp
Expand Up @@ -34,6 +34,9 @@ void QgsGeomColumnTypeThread::addGeometryColumn( QgsPostgresLayerProperty layerP

void QgsGeomColumnTypeThread::stop()
{
if ( !mConn )
return;

mConn->cancel();
mStopped = true;
}
Expand Down

0 comments on commit 6a53f13

Please sign in to comment.