Skip to content
Permalink
Browse files

DBManager: fix 'Update Option' button behaviour (fix #7606)

  • Loading branch information
brushtyler committed May 27, 2013
1 parent 5d8964a commit cb1e47be2d1cddd7ab84ef5f96af6130a919b349
Showing with 5 additions and 4 deletions.
  1. +5 −4 python/plugins/db_manager/dlg_import_vector.py
@@ -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

0 comments on commit cb1e47b

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