tdo not display unknown tx size as zero. fix slider - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit efc837b4aae2015028dd66e1928c05bf8430bd67 (DIR) parent 87cbe443ab8db720c49efc91d000b1a52ae696a1 (HTM) 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: M gui/qt/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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) t@@ -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 = {}