Skip to content

Commit

Permalink
DBManager: fix 'Update Option' button behaviour (fix #7606)
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed May 27, 2013
1 parent 5d8964a commit cb1e47b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions python/plugins/db_manager/dlg_import_vector.py
Expand Up @@ -46,15 +46,16 @@ def __init__(self, inLayer, outDb, outUri, parent=None):

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
Expand Down

0 comments on commit cb1e47b

Please sign in to comment.