URI: 
       ttoggle expanded with enter key - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit c9e616a0d6db12eb4f456c41aa0668dae39afe8f
   DIR parent f97fe02e3a379b3b904d598187e310ac047a0ea8
  HTML Author: ecdsa <ecdsa@github>
       Date:   Sun,  3 Mar 2013 19:53:35 +0100
       
       ttoggle expanded with enter key
       
       Diffstat:
         M gui/gui_classic.py                  |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/gui_classic.py b/gui/gui_classic.py
       t@@ -968,6 +968,9 @@ class ElectrumWindow(QMainWindow):
                item = self.receive_list.itemAt(position)
                if not item: return
                addr = unicode(item.text(0))
       +        if not is_valid(addr): 
       +            item.setExpanded(not item.isExpanded())
       +            return 
                menu = QMenu()
                menu.addAction(_("Copy to clipboard"), lambda: self.app.clipboard().setText(addr))
                menu.addAction(_("QR code"), lambda: ElectrumWindow.show_qrcode("bitcoin:" + addr, _("Address")) )