Skip to content

Commit

Permalink
fixed background filling of empty rows overwriting last column
Browse files Browse the repository at this point in the history
  • Loading branch information
razaqq committed Oct 31, 2019
1 parent 905d0ab commit da9b9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def fill_tables(self, players):
x += 1

if player.background: # Set background for empty columns
for x in range(len(player.row)-1, 8):
for x in range(len(player.row), self.left_table.columnCount()):
item = QTableWidgetItem('')
item.setBackground(player.background)
table.setItem(y, x, item)
Expand Down

0 comments on commit da9b9a0

Please sign in to comment.