def _repopulateList(self):
        self.classListBox.clear()
        for k in self.classDict:
            self.classListBox.addItem(k)
Reset the list after loading a file
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/production_gui.py/FeatureTrainerWindow._repopulateList