Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sortData(self):
- s = ('', '', '')
- if (self.filterWidget.isTearOne):
- s[0] = ('ТИР 1')
- if (self.filterWidget.isTearTwo):
- s[1] = ('ТИР 2')
- if (self.filterWidget.isTearThree):
- s[2] = ('ТИР 3')
- a = ('', '')
- if (self.filterWidget.isShortRange):
- a[0] = ('Ближний бой')
- if (self.filterWidget.isLongRange):
- a[1] = ('Дальний бой')
- updateData = self.table.data[(self.table.data['Meta']) in s, self.table.data['Attack'] in a]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement