Skip to content

Commit

Permalink
db-manager: Update input layer and table names
Browse files Browse the repository at this point in the history
when selecting an external file

Fixes #22033 - wrong shapefile import
  • Loading branch information
elpaso authored and nyalldawson committed May 23, 2019
1 parent 3794613 commit f6844e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/plugins/db_manager/dlg_import_vector.py
Expand Up @@ -70,6 +70,7 @@ def __init__(self, inLayer, outDb, outUri, parent=None):
self.cboSchema.currentIndexChanged.connect(self.populateTables)
self.widgetSourceSrid.setCrs(QgsProject.instance().crs())
self.widgetTargetSrid.setCrs(QgsProject.instance().crs())
self.updateInputLayer()

def setupWorkingMode(self, mode):
""" hide the widget to select a layer/file if the input layer is already set """
Expand Down

0 comments on commit f6844e0

Please sign in to comment.