def removeTopic(self): selectedItemIndex = self.ui.topicList.currentRow() selectedTopic = self.topicList[selectedItemIndex] classifier.removeTopic(selectedTopic) #Set the refreshDisplay status to true. self.parent.parent.refreshDisplay = True self.displayTopics()
def removeTopic(self): selectedIndex = self.ui.topicListCombo.currentIndex() selectedTopic = self.topicList[selectedIndex] classifier.removeTopic(selectedTopic) #Set the refreshDisplay status to true. self.parent.parent.refreshDisplay = True self.close()
def removeTopic(self): selectedItemIndex = self.ui.topicList.currentRow() selectedTopic = self.topicList[selectedItemIndex] classifier.removeTopic(selectedTopic) self.displayTopics()
def removeTopic(self): selectedIndex = self.ui.topicListCombo.currentIndex() selectedTopic = self.topicList[selectedIndex] classifier.removeTopic(selectedTopic) self.close()