Browse Source

Don't resize extra column to contents

Something in QT makes this very slow for this column after
editing a label
283
Neil Booth 9 years ago
parent
commit
8cccf1eec5
  1. 5
      plugins/exchange_rate.py

5
plugins/exchange_rate.py

@ -340,7 +340,10 @@ class Plugin(BasePlugin):
return
history_list = window.history_list
history_list.setColumnCount(7)
history_list.header().setResizeMode(6, QHeaderView.ResizeToContents)
# For unclear reasons setting this column to ResizeToContents
# makes e.g. label editing very slow
history_list.setColumnWidth(6, 120)
#window.history_list.header().setResizeMode(6, QHeaderView.ResizeToConte
history_list.setHeaderLabels([ '', '', _('Date'), _('Description') , _('Amount'), _('Balance'), _('Fiat Amount')] )
for item, tx in entries:
tx_hash, conf, value, timestamp, balance = tx

Loading…
Cancel
Save