Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def addHacks(self):
- '''
- Updates our list widget with the hacks in the XML.
- '''
- for hack in self.categories:
- for mod in self.categories[hack]:
- self.listWidget.addItem(mod)
- # Also setting self.currentlySelected to our currently selected item (duh)
- self.currentlySelected = self.listWidget.currentItem()
- # self.currentlySelectedDesc = self.
- '''
- Changing the info on the right when a hack is selected...
- '''
- self.listWidget.itemSelectionChanged.connect(self.changeHackModifier)
- def changeHackModifier(self):
- self.memtitle.setText(self.currentlySelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement