mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
DBManager: fix 'Update Option' button behaviour (fix #7606)
This commit is contained in:
parent
5d8964a475
commit
cb1e47be2d
@ -46,15 +46,16 @@ class DlgImportVector(QDialog, Ui_Dialog):
|
||||
|
||||
self.mode = self.ASK_FOR_INPUT_MODE if self.inLayer is None else self.HAS_INPUT_MODE
|
||||
|
||||
# updates of UI
|
||||
self.setupWorkingMode( self.mode )
|
||||
|
||||
self.connect(self.cboSchema, SIGNAL("currentIndexChanged(int)"), self.populateTables)
|
||||
self.populateSchemas()
|
||||
self.populateTables()
|
||||
self.populateLayers()
|
||||
self.populateEncodings()
|
||||
|
||||
# updates of UI
|
||||
self.setupWorkingMode( self.mode )
|
||||
self.connect(self.cboSchema, SIGNAL("currentIndexChanged(int)"), self.populateTables)
|
||||
|
||||
|
||||
|
||||
def setupWorkingMode(self, mode):
|
||||
""" hide the widget to select a layer/file if the input layer
|
||||
|
Loading…
x
Reference in New Issue
Block a user