46 |
46 |
47 self.__migrationRequired = migrationRequired |
47 self.__migrationRequired = migrationRequired |
48 |
48 |
49 self.__migrations = migrations |
49 self.__migrations = migrations |
50 self.applicationComboBox.addItems(sorted(self.__migrations.keys())) |
50 self.applicationComboBox.addItems(sorted(self.__migrations.keys())) |
51 self.on_applicationComboBox_activated(self.applicationComboBox.currentText()) |
51 self.on_applicationComboBox_currentTextChanged( |
|
52 self.applicationComboBox.currentText() |
|
53 ) |
52 |
54 |
53 msh = self.minimumSizeHint() |
55 msh = self.minimumSizeHint() |
54 self.resize(max(self.width(), msh.width()), msh.height()) |
56 self.resize(max(self.width(), msh.width()), msh.height()) |
55 |
57 |
56 @pyqtSlot(str) |
58 @pyqtSlot(str) |
57 def on_applicationComboBox_activated(self, app): |
59 def on_applicationComboBox_currentTextChanged(self, app): |
58 """ |
60 """ |
59 Private slot to update the migrations combo box. |
61 Private slot to update the migrations combo box. |
60 |
62 |
61 @param app name of the selected application |
63 @param app name of the selected application |
62 @type str |
64 @type str |