Skip to content
Permalink
Browse files
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.
@@ -34,6 +34,9 @@ void QgsGeomColumnTypeThread::addGeometryColumn( QgsPostgresLayerProperty layerP

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

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

0 comments on commit 6a53f13

Please sign in to comment.