electrum

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

commit efc837b4aae2015028dd66e1928c05bf8430bd67
parent 87cbe443ab8db720c49efc91d000b1a52ae696a1
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 21 Dec 2017 11:41:45 +0100

do not display unknown tx size as zero. fix slider

Diffstat:
Mgui/qt/main_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -1093,7 +1093,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): class TxSizeLabel(QLabel): def setAmount(self, byte_size): - self.setText('x %s bytes =' % byte_size) + self.setText(('x %s bytes =' % byte_size) if byte_size else '') self.size_e = TxSizeLabel() self.size_e.setAlignment(Qt.AlignCenter) @@ -1630,6 +1630,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.fee_e, self.feerate_e]: e.setText('') e.setFrozen(False) + self.fee_slider.activate() self.size_e.setAmount(0) self.set_pay_from([]) self.tx_external_keypairs = {}