Thu, 26 Dec 2024 14:22:24 +0100
Corrected some slots that used the non-existent 'activated(str)' signal.
ProjectDjango/DjangoMigrationSelectionDialog.py | file | annotate | diff | comparison | revisions | |
ProjectDjango/DjangoSquashMigrationSelectionDialog.py | file | annotate | diff | comparison | revisions |
--- a/ProjectDjango/DjangoMigrationSelectionDialog.py Thu Dec 26 14:19:48 2024 +0100 +++ b/ProjectDjango/DjangoMigrationSelectionDialog.py Thu Dec 26 14:22:24 2024 +0100 @@ -48,13 +48,15 @@ self.__migrations = migrations self.applicationComboBox.addItems(sorted(self.__migrations.keys())) - self.on_applicationComboBox_activated(self.applicationComboBox.currentText()) + self.on_applicationComboBox_currentTextChanged( + self.applicationComboBox.currentText() + ) msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) @pyqtSlot(str) - def on_applicationComboBox_activated(self, app): + def on_applicationComboBox_currentTextChanged(self, app): """ Private slot to update the migrations combo box.
--- a/ProjectDjango/DjangoSquashMigrationSelectionDialog.py Thu Dec 26 14:19:48 2024 +0100 +++ b/ProjectDjango/DjangoSquashMigrationSelectionDialog.py Thu Dec 26 14:22:24 2024 +0100 @@ -49,7 +49,7 @@ self.__migrations = migrations self.applicationComboBox.addItems([""] + sorted(self.__migrations.keys())) - self.on_applicationComboBox_activated("") + self.on_applicationComboBox_currentTextChanged("") msh = self.minimumSizeHint() self.resize(max(self.width(), msh.width()), msh.height()) @@ -64,7 +64,7 @@ self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(enabled) @pyqtSlot(str) - def on_applicationComboBox_activated(self, app): + def on_applicationComboBox_currentTextChanged(self, app): """ Private slot to update the migrations combo boxes. @@ -84,7 +84,7 @@ self.__updateOkButton() @pyqtSlot(str) - def on_endMigrationComboBox_activated(self, migration): # noqa: U100 + def on_endMigrationComboBox_currentTextChanged(self, migration): # noqa: U100 """ Private slot handling the selection of a migration.