def reject(self): PluginSettings.set_selected_ngw_connection_name(self.cmbConnections.currentText()) QDialog.reject(self)