add white space before BTC frozen message
authorrdymac <rdymac@rdymac.local>
Wed, 26 Mar 2014 16:47:22 +0000 (17:47 +0100)
committerrdymac <rdymac@rdymac.local>
Wed, 26 Mar 2014 16:47:22 +0000 (17:47 +0100)
Added a white space before BTC in the not enough funds frozen message.

The ‘Not enough funds…’ message does not disappear even after clicking
the clear button. Only changing the amount to send restores the
‘Balance’ message

gui/qt/main_window.py

index 82ca5fb..3a7076a 100644 (file)
@@ -779,7 +779,7 @@ class ElectrumWindow(QMainWindow):
                 self.funds_error = True
                 text = _( "Not enough funds" )
                 c, u = self.wallet.get_frozen_balance()
-                if c+u: text += ' (' + self.format_amount(c+u).strip() + self.base_unit() + ' ' +_("are frozen") + ')'
+                if c+u: text += ' (' + self.format_amount(c+u).strip() + ' ' + self.base_unit() + ' ' +_("are frozen") + ')'
 
             self.statusBar().showMessage(text)
             self.amount_e.setPalette(palette)