Skip to content
Permalink
Browse files

Fix for #17104

  • Loading branch information
rduivenvoorde authored and m-kuhn committed Sep 4, 2017
1 parent 8efa9fa commit 117261bfb772ad93b76451a9edf621a9d9cb5e49
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/gui/wrappers_postgis.py
@@ -104,7 +104,8 @@ def connectionChanged(self, wrapper):

def setConnection(self, connection):
self._connection = connection
if isinstance(connection, str):
# when there is NO connection (yet), this get's called with a ''-connection
if isinstance(connection, str) and connection != '':
self._database = GeoDB.from_name(connection)
else:
self._database = None

0 comments on commit 117261b

Please sign in to comment.
You can’t perform that action at this time.