URI: 
       tqt: allow copying receiving address using ctrl-c (#4258) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit dcf25f912136b7d5efef17fb47e310e2bea5c62e
   DIR parent 44bb1e9993bbfe996bf4263e787da184f9f5bc87
  HTML Author: Filip Gospodinov <f@gospodinov.ch>
       Date:   Sun, 15 Apr 2018 16:19:37 +0200
       
       qt: allow copying receiving address using ctrl-c (#4258)
       
       "You must enable keyboard focus for a widget if it
       processes keyboard events."
       
       https://doc.qt.io/qt-5/qwidget.html#focusPolicy-prop
       
       On macOS it works without this patch already for some reason.
       Diffstat:
         M gui/qt/main_window.py               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -791,7 +791,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
                msg = _('Bitcoin address where the payment should be received. Note that each payment request uses a different Bitcoin address.')
                self.receive_address_label = HelpLabel(_('Receiving address'), msg)
                self.receive_address_e.textChanged.connect(self.update_receive_qr)
       -        self.receive_address_e.setFocusPolicy(Qt.NoFocus)
       +        self.receive_address_e.setFocusPolicy(Qt.ClickFocus)
                grid.addWidget(self.receive_address_label, 0, 0)
                grid.addWidget(self.receive_address_e, 0, 1, 1, -1)