1
0

message about frozen funds

This commit is contained in:
thomasv
2013-04-12 14:29:11 +02:00
parent 6e10687abe
commit 6585da69fe
2 changed files with 11 additions and 0 deletions

View File

@@ -745,6 +745,8 @@ class ElectrumWindow(QMainWindow):
palette.setColor(self.amount_e.foregroundRole(), QColor('red'))
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") + ')'
self.statusBar().showMessage(text)
self.amount_e.setPalette(palette)