Skip to content

Commit

Permalink
Fix flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Oct 26, 2024
1 parent ba5c541 commit 7771379
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/tabRewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
from txCache import TxCache
from utils import checkPivxAddr

AlignCenter: int = Qt.AlignCenter
ItemIsEnabled: int = Qt.ItemIsEnabled
ItemIsSelectable: int = Qt.ItemIsSelectable


class TabRewards:
def __init__(self, caller):
Expand Down Expand Up @@ -79,7 +75,7 @@ def display_utxos(self):
def item(value: str) -> QTableWidgetItem:
item = QTableWidgetItem(value)
item.setTextAlignment(Qt.AlignCenter)
item.setFlags(Qt.ItemIsEnabled | Qt.ItemIsSelectable)
item.setFlags(item.flags() | Qt.ItemIsEnabled | Qt.ItemIsSelectable)
return item

# Clear up old list
Expand Down

0 comments on commit 7771379

Please sign in to comment.