URI: 
       tupdate tx label in gui - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit d5ba4398ee37a4797264177354d5b08084bf6410
   DIR parent cd9f2f02d244eb32f70cef65f1f1125c1dd18684
  HTML Author: thomasv <thomasv@gitorious>
       Date:   Wed, 27 Feb 2013 12:51:49 +0100
       
       update tx label in gui
       
       Diffstat:
         M lib/gui.py                          |       3 +++
         M lib/gui_android.py                  |       3 +++
         M lib/gui_qt.py                       |       3 +++
         M lib/gui_text.py                     |       3 +++
         M lib/wallet.py                       |       3 ---
       
       5 files changed, 12 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/lib/gui.py b/lib/gui.py
       t@@ -843,6 +843,9 @@ class ElectrumWindow:
                    self.show_message(str(e))
                    return
                    
       +        if label: 
       +            self.wallet.labels[tx.hash()] = label
       +
                status, msg = self.wallet.sendtx( tx )
                if status:
                    self.show_message( "payment sent.\n" + msg )
   DIR diff --git a/lib/gui_android.py b/lib/gui_android.py
       t@@ -457,6 +457,9 @@ def pay_to(recipient, amount, fee, label):
                droid.dialogDismiss()
                return
        
       +    if label: 
       +        self.wallet.labels[tx.hash()] = label
       +
            droid.dialogDismiss()
        
            r, h = wallet.sendtx( tx )
   DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py
       t@@ -914,6 +914,9 @@ class ElectrumWindow(QMainWindow):
                    self.show_message(str(e))
                    return
        
       +        if label: 
       +            self.wallet.labels[tx.hash()] = label
       +
                if self.wallet.seed:
                    h = self.wallet.send_tx(tx)
                    waiting_dialog(lambda: False if self.wallet.tx_event.isSet() else _("Please wait..."))
   DIR diff --git a/lib/gui_text.py b/lib/gui_text.py
       t@@ -265,6 +265,9 @@ class ElectrumGui:
                    self.show_message(str(e))
                    return
                    
       +        if self.str_description: 
       +            self.wallet.labels[tx.hash()] = self.str_description
       +
                h = self.wallet.send_tx(tx)
                self.show_message(_("Please wait..."), getchar=False)
                self.wallet.tx_event.wait()
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -689,9 +689,6 @@ class Wallet:
                    if address not in self.addressbook and not self.is_mine(address):
                        self.addressbook.append(address)
        
       -        #if label: 
       -        #    self.labels[tx.hash()] = label
       -
                return tx
        
            def sign_tx(self, tx, password):