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 6a53f13e6952e6c1484553a1d2d9ec4917b34302
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/providers/postgres/qgscolumntypethread.cpp
@@ -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.
You can’t perform that action at this time.