mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
Use leaveEvent instead of checking mouseMove position constantly.
This commit is contained in:
parent
e7e0b80ca8
commit
39d6b739dd
1 changed files with 2 additions and 3 deletions
|
@ -402,9 +402,8 @@ class PasswordDialog(QDialog):
|
||||||
|
|
||||||
class ReceivePopup(QDialog):
|
class ReceivePopup(QDialog):
|
||||||
|
|
||||||
def mouseMoveEvent(self, event):
|
def leaveEvent(self, event):
|
||||||
if not self.rect().contains(event.pos()):
|
self.close()
|
||||||
self.close()
|
|
||||||
|
|
||||||
def setup(self, address):
|
def setup(self, address):
|
||||||
label = QLabel(_("Copied your Bitcoin address to the clipboard!"))
|
label = QLabel(_("Copied your Bitcoin address to the clipboard!"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue