eric6/SqlBrowser/SqlConnectionDialog.py

changeset 8151
8c1445825e7b
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8150:fc1ae39af8c9 8151:8c1445825e7b
68 if self.databasePicker.text() == "" or driver == "": 68 if self.databasePicker.text() == "" or driver == "":
69 self.okButton.setEnabled(False) 69 self.okButton.setEnabled(False)
70 else: 70 else:
71 self.okButton.setEnabled(True) 71 self.okButton.setEnabled(True)
72 72
73 @pyqtSlot(str) 73 @pyqtSlot(int)
74 def on_driverCombo_activated(self, txt): 74 def on_driverCombo_activated(self, index):
75 """ 75 """
76 Private slot handling the selection of a database driver. 76 Private slot handling the selection of a database driver.
77 77
78 @param txt text of the driver combo (string) 78 @param index index of the selected entry
79 @type int
79 """ 80 """
80 self.__updateDialog() 81 self.__updateDialog()
81 82
82 @pyqtSlot(str) 83 @pyqtSlot(str)
83 def on_databasePicker_textChanged(self, txt): 84 def on_databasePicker_textChanged(self, txt):

eric ide

mercurial