electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8cccf1eec514362649e8877f212705a3b4071276
parent 9da22000b6bf3e6d91cc52b54d913b5f6ae2451a
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Sat,  5 Sep 2015 15:02:33 +0900

Don't resize extra column to contents

Something in QT makes this very slow for this column after
editing a label

Diffstat:
Mplugins/exchange_rate.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plugins/exchange_rate.py b/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