def METHOD_NAME(self):
    current = self.ui.formatList.currentItem()
    self.ui.formatList.clear()
    gotCurrent = False
    for exp in exporters.listExporters():
        item = FormatExportListWidgetItem(exp, QtCore.QCoreApplication.translate('Exporter', exp.Name))
        self.ui.formatList.addItem(item)
        if item is current:
            self.ui.formatList.setCurrentRow(self.ui.formatList.count() - 1)
            gotCurrent = True
    if not gotCurrent:
        self.ui.formatList.setCurrentRow(0)