Skip to content

Commit cb1e47b

Browse files
committed
DBManager: fix 'Update Option' button behaviour (fix #7606)
1 parent 5d8964a commit cb1e47b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

python/plugins/db_manager/dlg_import_vector.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,16 @@ def __init__(self, inLayer, outDb, outUri, parent=None):
4646

4747
self.mode = self.ASK_FOR_INPUT_MODE if self.inLayer is None else self.HAS_INPUT_MODE
4848

49-
# updates of UI
50-
self.setupWorkingMode( self.mode )
51-
52-
self.connect(self.cboSchema, SIGNAL("currentIndexChanged(int)"), self.populateTables)
5349
self.populateSchemas()
5450
self.populateTables()
5551
self.populateLayers()
5652
self.populateEncodings()
5753

54+
# updates of UI
55+
self.setupWorkingMode( self.mode )
56+
self.connect(self.cboSchema, SIGNAL("currentIndexChanged(int)"), self.populateTables)
57+
58+
5859

5960
def setupWorkingMode(self, mode):
6061
""" hide the widget to select a layer/file if the input layer

0 commit comments

Comments
 (0)