electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 39d6b739dd9654ca21ec977a1dec487ec2c46f23
parent e7e0b80ca8a606ce6443195042dc4a55f1eb3389
Author: Amir Taaki <genjix@riseup.net>
Date:   Thu,  5 Jul 2012 18:08:14 +0200

Use leaveEvent instead of checking mouseMove position constantly.

Diffstat:
Mlib/gui_lite.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/gui_lite.py b/lib/gui_lite.py @@ -402,9 +402,8 @@ class PasswordDialog(QDialog): class ReceivePopup(QDialog): - def mouseMoveEvent(self, event): - if not self.rect().contains(event.pos()): - self.close() + def leaveEvent(self, event): + self.close() def setup(self, address): label = QLabel(_("Copied your Bitcoin address to the clipboard!"))